Nevermind....nothing that a few double Sliders couldn't fix.  :-)  I was
just being overly anal.  If I'd just looked at the shutdown I'd have
seen that boot.localfs kindly remounts the filesystem as readonly when
it can't unmount it.  Spits out a warning, but I can live with it.

In case anyone wants to be anal about it:

1)  In /etc/sysconfig/shutdown, set: HALT_POWERDOWN_INSERT="exit"
2)  Create a script somewhere NOT in one of your mounted rw filessytems
that unmounts any filesystems that could not be unmounted because they
were in use by the rc scripts.
3)  Run that script from inittab during runlevels 0 and 6 after the
normal "rc" scripts.

Leland

Leland Lucius wrote:
For you "shared root crazies" out there, how did you get /etc to unmount
during shutdown?  (on SLES10)

I've been tinkering around with this and everything works well except
that it won't unmount /etc during shutdown since it's in use by the "rc"
script(s) when boot.localfs runs.  And since /etc is a read/write mount,
I'd rather not pull the rug out from under it.

Well, I'm actually fibbing just a little since I did find a way to do it
cleanly, but it's not pretty.  So I was hoping to either find out I was
doing something wrong or if it's just the way it is.

Thanks,

Leland

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to