tmpfs

Chey chey.smith at gmail.com
Sun Aug 20 13:38:54 UTC 2006


Is anyone else having this problem?


On 8/18/06, Chey <chey.smith at gmail.com> wrote:
> Hello,
>    I am using busybox 1.2.1 and I'm having trouble mounting tmpfs with
> size constraints:
>
> root at generic:/# mount -t tmpfs -o size=4264k none /tmp
>
> root at generic:/# mount
> ...(truncated)
> none on /tmp type tmpfs (rw)
>
> root at generic:/# dd if=/dev/zero of=/tmp/foo bs=1000k count=5
> 5+0 records in
> 5+0 records out
>
> root at generic:/# ls -lh /tmp
> -rw-r--r--    1 root     root         4.9M Aug 18 16:03 foo
>
> I shouldn't have been able to write that file (foo) to /tmp.
>
> I apologize if I am seeking assistance in the wrong place. It appears
> to me that mount isn't passing off the size option.
>
> Any thoughts? Am I missinig something?
>
> Chey
>



More information about the busybox mailing list