[BusyBox] mount problems
Brendan J Simon
brendan.simon at ctam.com.au
Tue Jul 16 00:23:03 UTC 2002
I'm using busybox.0.60.2 with a powerpc linux.2.4.18-pre8 kernel. I'm
having troubles with the mount command.
I have a startup script that does a "mount -a". All the mounts seem to
fail.
mount: Mounting proc on /proc failed: Bad address
mount: Mounting tmpfs on /tmp failed: No such device
mount: Mounting tmpfs on /var/log failed: No such device
Note that "mount -t proc proc /proc" works fine if run manually at the
shell prompt.
# mount /proc
#
I am also trying to mount tmpfs but getting errors. If I type "mount -t
tmpfs tmpfs /tmp" I get a "Bad address" error. It seems to work OK if I
add a "-o mode=700" option. ie. "mount -t tmpfs tmpfs /tmp -o mode=700"
works fine.
# mount -t tmpfs tmpfs /tmp
mount: Mounting tmpfs on /tmp failed: Bad address
# mount -t tmpfs tmpfs /tmp -o mode=700
#
Any clues as to what's going on ? I'm running the kernel and root
filesystem from an NFS server for development purposes. Could this be
causing problems ???
My /etc/fstab is:
#/dev/nftla1 / ext2 ro,suid,dev,exec,async,noatime 0 1
#/dev/nftla2 /var ext2 rw,suid,dev,exec,async,noatime 0 2
#/dev/nftla1 / ext2 defaults 0 1
#/dev/nftla2 /var ext2 defaults 0 2
proc /proc proc defaults 0 0
tmpfs /tmp ramfs defaults 0 0
tmpfs /var/log ramfs defaults 0 0
#ramfs /tmp ramfs defaults 0 0
#ramfs /var/log ramfs defaults 0 0
192.168.0.5:/home /home nfs rw,defaults,nolock 0 0
Thanks for any help or pointers.
Brendan Simon.
More information about the busybox
mailing list