|
|||||||||||
|
Re: Mount and Unmount
From: Derek Broughton <news(at)pointerstop.ca>
Date: Fri Aug 31 2007 - 19:32:42 EDT
> "D. Lam" <lam.dna@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? > You have it backwards. tmpfs puts a temporary filesystem (ramdisk) on your _swap_, not vice versa. By default /var/lock, /var/run, /dev/shm and udev are all in tmpfs already. I used to keep all of /tmp there when I used Debian (making the swap partition much larger than necessary for actual swapping), but it seems inconsistent with Ubuntu's defaults and I never worked out what I'd need to do that now. -- derek -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-usersReceived on Sat Sep 1 09:25:53 2007 This archive was generated by hypermail 2.1.8 : Thu Oct 18 2007 - 10:58:40 EDT |
||||||||||
|
|||||||||||