strange behaviour from 'mount -an'...

Andre armcc2000 at yahoo.com
Wed Jun 21 00:51:51 UTC 2006


--- Andre <armcc2000 at yahoo.com> wrote:
> # cat /etc/fstab
> proc    /proc   proc   defaults           0 0
> tmpfs   /rw     tmpfs  defaults,size=8M   0 0
> 
> (/proc and /rw directories both exist).
> 
> /sbin/init runs /etc/init.d/rcS and the first thing rcS does is run
> '/bin/mount -an'. Although both /proc and /rw get mounted, mount
> outputs the following error message:
> 
> mount: Mounting tmpfs on /rw failed: No such file or directory
> 

The attached patch fixes the bogus error message. Please review.

(I assume trying to stat "proc" or "tmpfs" instead of knowing better
is a design decision rather than a bug... ?!?)

Andre
--


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_mount_bogus_errors
Type: application/octet-stream
Size: 451 bytes
Desc: 1613131167-patch_mount_bogus_errors
Url : http://lists.busybox.net/pipermail/busybox/attachments/20060620/c313548c/attachment.obj 


More information about the busybox mailing list