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,590 of 29,919   
   Bit Twister to David W. Hodgins   
   Re: Where is the default tmpfs size sett   
   04 Oct 12 21:13:02   
   
   XPost: alt.os.linux.mageia   
   From: BitTwister@mouse-potato.com   
      
   Since default is half of ram size, actual solution will be to mount   
   with desired values.   
      
   Where, will be distribution and start up scripts dependent.   
   You may want to get current vaules using findmnt.   
      
   Example: findmnt --target /dev   
      
   On Thu, 04 Oct 2012 12:07:01 -0400, David W. Hodgins wrote:   
   > On Wed, 03 Oct 2012 23:50:47 -0400, Bit Twister  wrote:   
   >   
   >> On Wed, 03 Oct 2012 23:25:15 -0400, Adam wrote:   
   >> I just can not see wasting memory seen here   
   >> $  df -kh | grep tmpfs   
   >> devtmpfs        3.8G     0  3.8G   0% /dev   
   >> tmpfs           3.8G  1.2M  3.8G   1% /dev/shm   
   >> tmpfs           3.8G  4.1M  3.8G   1% /run   
   >> tmpfs           3.8G     0  3.8G   0% /sys/fs/cgroup   
   >   
   > The tmpfs systems are using 5.3M of ram, not 3.8G.   
      
   Yep, figured that.   
      
   >  The 3.8G is the limit, not the currently used.   
      
   And that is where I made the bad assumption. When df shows Size of a   
   drive partition, that means that space is not usable by other partitions.   
      
   With tmpfs, that is the available ram space on the mount point that   
   still can be used/allocated by other memory processes.   
      
   >   
   > See "man mount", "grep tmpfs /etc/rc.d/*", "grep tmpfs /usr/lib/dracut/*".   
      
   grep -r tmpfs /usr/lib/dracut/*   
      
   Was more informative.   :)   
      
   > http://www.ibm.com/developerworks/library/l-fs3/index.html   
   > If you really do want to resize it, see   
   > http://www.howtoforge.com/storing-files-directories-in-memory-with-tmpfs   
   >   
      
   David, Thank You for your time.   
      
   --- 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