Skip to contentSkip to conversation

mountall.sh bugs

DISCUSSION DAMWID 1 participant 1 message Jun 14, 2007

lore
Share & tools
lore

DAMWID

author
#0 lore raw

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