tmpfs size option not working
Julien MARBACH
jmarbach at quelisid.com
Wed Jan 4 14:59:31 PST 2006
Hello,
I'm trying to fix the maximum size of a tmpfs (my /var directory) but
the size=16m option doesn't seem to work. The corresponding line in my
fstab is :
none /var tmpfs size=16M 0 0
But if i create a big file under /var I never receive any error message
telling that the limit has been reached. For example if I do a
$ yes BlahBlahBlah >> /var/test
the file /var/test becomes after a while much larger than the 16MB limit
I've set and finally uses all the RAM...
I've tried to unmount and remount /var manually after startup with
$ umount /var
$ mount tmpfs /var -t tmpfs -o size=16m
But the result is the same. The limit is not respected...
Any idea?
Thanks,
julien
--
MARBACH Julien
Embedded software engineer
Quelis ID Systems
11845 Irenee-Vachon
J7N 1G2 Mirabel (QC)
Canada
Phone : +1 (450) 476-1930 - x230
Fax : +1 (450) 476-0246
--- www.quelisid.com ---
More information about the busybox
mailing list