PDA

View Full Version : [ubuntu] tmpfs vs. ramfs..which would you prefer and why?



bosworthy
January 25th, 2009, 03:50 AM
tmpfs vs. ramfs..which would you prefer and why?
:)

ajmorris
January 26th, 2009, 04:11 AM
hi there,
I use tmpfs for one simple reason. Data in tmpfs can be swapped out, data in ramfs, can not. I need my swap space, so i use tmpfs. Another valid reason for preferring tmpfs, is that glibc explicitly depends on it to pass it's checks.
These are the 2 main reasons, that these days, standard distros enable tmpfs by default.


AJ

bosworthy
January 29th, 2009, 01:51 PM
Thanks AJ