[Pkg-sysvinit-devel] initscripts with fuse filesystems
Pascal de Bruijn
pascal at unilogicnetworks.net
Tue Jan 8 13:32:52 UTC 2008
We are using Debian Etch on an initrd, on the initrd we are mounting a
curlftpfs at boot (our fstab):
"curlftpfs#username:password at hostname /mountpoint fuse
rw,connect_timeout=10 0 0"
fuse will be mounted by S35mountall.sh, however networking is not yet
available, thus it fails:
The following modifications, classify fuse as a network filesystem, and
move it's mounting to mountnfs:
cp $BASE/etc/init.d/mountall.sh $BASE/etc/init.d/mountall.sh.orig
cat $BASE/etc/init.d/mountall.sh.orig | sed
cp $BASE/etc/init.d/mountnfs.sh $BASE/etc/init.d/mountnfs.sh.orig
cat $BASE/etc/init.d/mountnfs.sh.orig | sed 's/nfs|nfs4|smbfs|cifs|coda|
cat $BASE/etc/network/if-up.d/mountnfs.orig | sed 's/smbfs|cifs|coda|
It seems be wise to move the netfs definition to a conffile
like /etc/default/netfs or something similar, which the above scripts
As mountnfs mounts not just nfs but also cifs, and with my modifications
also fuse, the script should probably be called mountnet or mountnetfs.
I hope you will consider this modification to be included in future
versions of Debian.
I would appreciate some feedback, if time permits.
Pascal de Bruijn <pascal at unilogicnetworks.net>
Junior Network Engineer - Unilogic Networks B.V.
Unilogic Networks B.V.
6135 KD Sittard
E: info at unilogicnetworks.net
More information about the Pkg-sysvinit-devel