[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: tmpfs on RAM howto



On Thu, 2005-09-29 at 00:18 +0200, Rakotomandimby Mihamina wrote:
> Hi,
> I have a large amount of RAM (2go) on a laptop, and a friend adviced me
> to mount tmpfs into the RAM.
> When I 'free' or 'top' I see the RAM is never fully used.

You've got to be kidding me. Linux uses _all_ ram.

        total       used       free     shared    buffers     cached
Mem:    1518       1477         40          0        117        707


> Unfortunately, I dont know how to do that.

#mount -t tmpfs tmpfs /mnt/tmpfs
#df -h | grep tmpfs
tmpfs                 760M     0  760M   0% /mnt/tmpfs


#mount -t tmpfs tmpfs /mnt/tmpfs -o size=100M
df -h | grep tmpfs
tmpfs                 100M     0  100M   0% /mnt/tmpfs




-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 17:32:00 up 4 days, 22:18, 6 users, load average: 0.24,
0.86, 0.87 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]