[Pkg-sysvinit-devel] New initscript to do all bind and loop mounts?

Thomas Hood jdthood at yahoo.co.uk
Tue Jan 24 15:49:08 UTC 2006


Re: #254311, #49670, #138040

These are reports filed against the initscripts package in the BTS requesting that
bind and loop mounts be done after S:S45mountnfs.sh runs.

We could provide such a script.  However, it wouldn't satisfy everyone's needs.
There can be bind mounts out of loop mounts, loop mounts out of bind mounts, etc.
The hierarchy can be made arbitrarily complex.

The initscripts in the initscripts package are limited in purpose: they mount enough
filesystems, using the information in /etc/fstab, to make the basic things available,
including /usr and /var.

What's needed for more advanced setups is a program that can sort out the dependencies.
Fortunately, such programs already exist.  automounters.  automounters have their own
configuration files written in a language that is adequate to what automounters have
to do.

Taking care of arbitrary filesystem setups should not be considered to be a
responsibility of initscripts.  If someone's /usr or /var is a bind mount or a loop
mount then this should to be regarded as a custom setup.

Anyone disagree?
-- 
Thomas Hood



More information about the Pkg-sysvinit-devel mailing list