[oe] mountall.sh bugs

DAMWID damwid at gmail.com
Thu Jun 14 03:38:41 UTC 2007


Hi all,

The mountall.sh in initscripts-1.0 package use the following line to 
mount all filesystem except nfs, smbfs, and ncpfs:

	mount -at nonfs,nosmbfs,noncpfs 2>/dev/null

there are two problems here:

1) the arguments for -t option should be "nonfs,smbfs,ncpfs", the "no" 
should be prefixed to the whole fstype list, not to each fstype.

2) currently, busybox does not support the "-t type1,type2" and "-t 
notype1,type2" option, so this line actually does nothing at all.

The best way to resolve this problem is add above options support to 
busybox. As a workaround, I replace this line with a simple "mount -a" 
command, and it works for me.

B.R.
Damwid




More information about the Openembedded-devel mailing list