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,585 of 29,919   
   Aragorn to All   
   Re: Where is the default tmpfs size sett   
   03 Oct 12 16:49:03   
   
   XPost: alt.os.linux.mageia   
   From: stryder@telenet.be.invalid   
      
   On Wednesday 03 October 2012 15:02, Bit Twister conveyed the following   
   to alt.os.linux.mageia...   
      
   > Anyone know where the default tmpfs size setting configuration file   
   > is?   
   >   
   > As you can see on my 8G box, I have   
   > $ df -kh | grep tmpfs   
   > Filesystem      Size  Used Avail Use% Mounted on   
   > devtmpfs        3.8G     0  3.8G   0% /dev   
   > tmpfs           3.8G  5.7M  3.8G   1% /dev/shm   
   > tmpfs           3.8G  3.1M  3.8G   1% /run   
   > tmpfs           3.8G     0  3.8G   0% /sys/fs/cgroup   
   >   
   > 3.8G has been assigned.   
   >   
   > Yet on my VirtualBox 1G ram guest, I have   
   > $ df -kh | grep tmpfs   
   > Filesystem      Size  Used Avail Use% Mounted on   
   > devtmpfs        495M     0  495M   0% /dev   
   > tmpfs           500M  1.1M  499M   1% /dev/shm   
   > tmpfs           500M  1.7M  498M   1% /run   
   > tmpfs           500M     0  500M   0% /sys/fs/cgroup   
   > tmpfs           500M  4.0K  500M   1% /tmp   
   >   
   > its using 500M.   
      
   tmpfs does by default reserve half of your RAM - although it will   
   actually only use as much as is required - unless you specify otherwise   
   in the mount options.   
      
   There is no default configuration file for it, except maybe /etc/fstab,   
   if the tmpfs is mounted via that.  Many of the things like /dev/shm or   
   /run /may/ however already be mounted by the init scripts - or   
   configuration files, in the event of systemd - before /etc/fstab is   
   parsed.  This is distribution-specific.   
      
   Also note that tmpfs is not ramfs.  It's a virtual memory filesystem, so   
   its contents can be paged out to the swap partition when needed.   
      
   --   
   = 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