Mount and Unmount

John L Fjellstad john-ubuntu at fjellstad.org
Fri Aug 31 00:10:32 UTC 2007


"D. Lam" <lam.dna at gmail.com> writes:

> Perhaps he wants a ramdisk?
> If so, add this to /etc/fstab:
> /dev/ram        /media/ramdisk  tmpfs,user  rw 0 0

Isn't it pretty silly to put swap on you ramdisk?  Swap is used when you
run out of memory.  You are using memory to do the swap.  So basically,
the OS will swap things out of memory and into swap which is already
memory.  Wouldn't you be better off not using the swap-in-memory, and
then the OS wouldn't swap in the first place since the memory would
still be available?

-- 
John L. Fjellstad
web: http://www.fjellstad.org/          Quis custodiet ipsos custodes





More information about the ubuntu-users mailing list