Re: IMPORTANT: SysVinit & umounting

First Spirit Sauron (sauron@angband.ee.ualberta.ca)
Wed, 16 Sep 1998 13:13:14 -0600


On Wed, Sep 16, 1998 at 08:13:20AM -0400, Alex Buell wrote:

> Well, I just upgraded my SysVinit to 2.74 (from 2.62) and mount to 2.8b (I
> have a patch for this for glibc-2.0.95 - see later in this e-mail).

> Upon starting the shutdown -r now phase, I had a similar problem to the
> above. On closer investigation discovered that SysVinit's init was not a
> static binary, but was a dynamic binary. Recompiling this as a static (add
> -static to the STATIC macro in the Makefile) fixed this problem, now get
> perfect umounts every time I initiate the shutdown phase.

I think a good rule of thumb is to statically link important, seldom used
binaries. That way you can get away with not having a libc for a while..

The other option ( what I do ), is not to unmount the fs, but remount it ro.
This also helps, because it is difficult to statically link certain things
like bash. ( nsswitching stuff )

--Jack

What good is a ticket to the good life, if you can't find the entrance?
====-=-==== Jack (John) Cummings == cummings@nyquist.ee.ualberta.ca ====-=-====
========== for pgp public key --- finger the above address, and pray ==========

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/