[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFC: Moving libraries to /lib?



On Tue, Sep 24, 2002 at 12:46:21AM +0200, Petter Reinholdtsen wrote:
> Because /bin/sh have open files in /usr/ when using this
> configuration.

which /bin/sh and which files. Perhaps it is enough to run "exec halt", but
I would think that the shell is terminated before shutdown, anyway.

I would suggest to put a "fuser -v /usr" in the shutdown script right before
the "umount -a" in /etc/init.d/umountfs.

It is also possible to add a mount -o remount,ro /usr before the remount /,
to make sure the fs is clean even if umount fails.

Greetings
Bernd



Reply to: