home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.mandriva      Somewhat decent but also getting bloated      29,919 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 28,587 of 29,919   
   Aragorn to All   
   Re: Where is the default tmpfs size sett   
   04 Oct 12 01:09:36   
   
   XPost: alt.os.linux.mageia   
   From: stryder@telenet.be.invalid   
      
   On Wednesday 03 October 2012 19:17, Bit Twister conveyed the following   
   to alt.os.linux.mageia...   
      
   > On Wed, 3 Oct 2012 13:02:58 +0000 (UTC), Bit Twister wrote:   
   >> Anyone know where the default tmpfs size setting configuration file   
   >> is?   
   >   
   > looking at /lib/systemd/fedora-readonly I can not see where the size   
   > value is set for tmpfs.  :(   
      
   You'll just have to go over each human-readable file in the init   
   sequence, I'm afraid.  In SysV init systems, this is normally handled by   
   /etc/rc.sysinit, but - again - this is distribution-specific.   
      
   Gentoo for instance moved the mounting of /proc, /sys and /dev out of   
   /etc/fstab a long time ago, but many Gentoo users still have them   
   mounted via /etc/fstab.   
      
   Note: Watch out for line wraps in the terminal snippet below.   
      
    [00:57:42][localhost:/home/aragorn]   
    [0][aragorn][$] > grep "tmpfs" /etc/* | grep mount   
    grep: /etc/at.deny: Permission denied   
    grep: /etc/gshadow: Permission denied   
    grep: /etc/gshadow-: Permission denied   
    grep: /etc/libaudit.conf: Permission denied   
    grep: /etc/login.defs: Permission denied   
    grep: /etc/mcc.conf: Permission denied   
    grep: /etc/mtab.fuselock: Permission denied   
    grep: /etc/shadow: Permission denied   
    grep: /etc/shadow-: Permission denied   
    grep: /etc/sudoers: Permission denied   
    grep: /etc/sudoers.d: Permission denied   
    /etc/rc.sysinit:# (bluca) handle udev /dev tmpfs here since kernel will   
    happily umount /dev after initrd end   
    /etc/rc.sysinit:mount -n -t tmpfs  none /dev/shm >/dev/null 2>&1   
    /etc/rc.sysinit:                mount -n -t tmpfs $RW_OPTIONS   
    $mountopts none "$RW_MOUNT"   
      
   Note: I do not know where $RW_OPTIONS is defined.  It is either way not   
   in any file under /etc because I checked with a "sudo grep" - and yes, I   
   did omit the "$" from the search and used single quotes around the   
   search string.   
      
   And my distribution is...   
      
    [01:04:11][localhost:/home/aragorn]   
    [0][aragorn][$] > cat /etc/release   
    Mageia release 1 (Official) for x86_64   
      
      
   --   
   = Aragorn =   
   (registered GNU/Linux user #223157)   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca