Mount and Unmount

D. Lam lam.dna at
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> wrote:
> "D. Lam" <lam.dna at> 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:          Quis custodiet ipsos custodes
> --
> ubuntu-users mailing list
> ubuntu-users at
> Modify settings or unsubscribe at:

More information about the ubuntu-users mailing list