[Pkg-sysvinit-devel] Bug#383123: mountnfs.sh: Patch to mount remote
block devices as well
Petter Reinholdtsen
pere at hungry.com
Tue Sep 5 13:55:29 UTC 2006
tags 383123 + pending
thanks
[Andrew Pollock]
> Please find attached a patch that extends /etc/init.d/mountnfs.sh to
> also mount filesystems on network-accessed block devices, that
> cannot be mounted when /etc/init.d/mountall.sh is run.
I've commited this patch (after moving the mount code to the new
location as a if-up.d fragment, but started wondering if it might be
better to handle netdev file systems in separate scripts, and only add
code in the default init.d scripts to not mount them at all (the patch
in #383073). That way, there will be no failed mounts during boot,
and the machines without netdev file systems do not have to spend time
running the netdev-handling code.
I assume ATA over ethernet need some extra packages, and the init.d
scripts to mount and unmount netdev file systems can easily be added
to one of those packages. That way, it would be more like how
encrypted file systems are handled, completely independently from the
initscripts package.
What do you think?
Friendly,
--
Petter Reinholdtsen
More information about the Pkg-sysvinit-devel
mailing list