[Dmitry Bogatov]
>> Unfortunately $named can not be listed as a dependency for
>> mountnfs.sh, as it would generate a dependency loop.  First of all,
>> all known implementations of $named start in rc2.d, while mountnfs.sh
>> need to happen in rcS.d/ if /usr/ is an NFS volume.
>
> Correct me if I am wrong, but on modern installations /usr is mounted by
> initramfs (note usrmerge initiative), so I believe we could move
> mountnfs.sh from S to (2 3 4 5) (with some modifications to not try
> mount multiple times).
>
> Objections?

No objections, but note there used to be several scripts in rcS.d/
depending on /usr/ being mounted, and these need to be moved from S to
(2 3 4 5) first.

Also, I do not believe any initrd will NFS mount /usr/, so the use case
described do not really match your description.  When /usr/ is NFS
mounted (for example because of size constraints), it is not possible to
merge / and /usr/.
-- 
Happy hacking
Petter Reinholdtsen

Reply via email to