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

Re: RFC: Moving libraries to /lib?



Bernd Eckenfels wrote:
> 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.

umountfs already does "umount -tnoproc -a -r". According to the manpage
-r should make it remount filesystems read-only when it cannot unmount
them.

But unfortunatly I had no luck with this (I'm using nss_ldap, too).
The /usr filesystem was always unclean until I put an extra "mount -o
remount,ro /usr" in umountfs.sh

-- 
KeyID=759975BD fingerprint=887A 4BE3 6AB7 EE3C 4AE0  B0E1 0556 E25A 7599 75BD



Reply to: