restrict total use of memory for different tmpfs filesystems

From: herc (herc_6_at_hotmail.com)
Date: 08/11/04


Date: 11 Aug 2004 07:29:27 -0700

Hello,

 I mount the /dev, /tmp and a /.var directory into memory using the
tmpfs filesystem. I would like to restrict the total use of the memory
for tmpfs to 10Mb. I know that I can use the size=10M option in the
mount command, but how much memory uses tmpfs in total if I do

mount -t tmpfs -n tmp /tmp -o size=10M
mount -t tmpfs -n .var /.var -o size=10M
mount -t tmpfs -n dev /dev -o size=10M

Is the total use of memory for tmpfs restricted to 10Mb or 30Mb ?

regards,

herc



Relevant Pages