Mount and Unmount
lam.dna at gmail.com
Fri Aug 31 12:53:16 UTC 2007
The intention of a ramdisk is not to use it for swap, but rather as
fast temporary storage. Very useful as a cache directory, for say
your web browser.
On 8/30/07, John L Fjellstad <john-ubuntu at fjellstad.org> wrote:
> "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
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
More information about the ubuntu-users