mount bug [was: Re: tmpfs]

Bernhard Fischer rep.nop at aon.at
Sun Aug 20 13:50:39 UTC 2006


On Sun, Aug 20, 2006 at 09:38:54AM -0400, Chey wrote:
>Is anyone else having this problem?

This is likely a generic bug in the new mount and should go away if you
revert to the mount from version 1.0+fixes-but-no-rewrites.

Rob may already have a fix for this pending, though.
HTH,
>
>
>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
>>
>_______________________________________________
>busybox mailing list
>busybox at busybox.net
>http://busybox.net/cgi-bin/mailman/listinfo/busybox
>



More information about the busybox mailing list