So, if my linux swap partition is only 500MB, does the tmpfs size=2G know that I've got less or does it matter? I'm a little confused about the difference between the tmpfs and my swap partition usage.
Thanx.
]]>size=nbytes
Override default size of the filesystem. The size is given in
bytes, and rounded down to entire pages. The default is half of
the memory.
That means that there will be no immediate problems with your tmpfs, but in your case it'll only be 128 MB in size, which may or may not be what you want.
Hey, and along the way we found a useful purpose for large swap partitions!
HTH,
Dennis
Well, I've re-installed NOVA, again, from scratch..............(just-for-fun! ....and learning).
One thing stuck-out at me this time. I use 'vi' to edit the scripts during install and after rebooting I did another 'vi /etc/fstab', with the very-cool syntax-highlighting, which showed the 'tmpfs' line as highlited RED for 'size=2G', which I took to mean an incorrect entry(!?):
tmpfs /tmp tmpfs size=2G,nr_inodes=10k 0 0
So, I changed it to:
tmpfs /tmp tmpfs defaults 0 0
My system has 256MB SDRAM, so please let me know if this will cause any problems and, also, why is it the other way in the first-place. Pure curiosity and double-checking.
Thanx.
]]>