umount, and SunOS 3.X

Svante Lindahl zap at nada.kth.se
Sun Sep 11 12:15:16 AEST 1988


In article <9192 at elroy.Jpl.Nasa.Gov> david at elroy.Jpl.Nasa.Gov (David Robinson) writes:
>In article <13448 at mimsy.UUCP>, chris at mimsy.UUCP (Chris Torek) writes:
>< It does more than just that.  rc.boot is always run, even on a single-
>< user boot.
[....]
>Or you could use the totally undocumented "-b" option to cause the
>Sun to boot without running /etc/rc.boot and hope you are not
>too corrupted.

-b is documented. Take a look at boot(8s) and init(8).
The documentation is however incorrect. boot(8s) claims:

          -b   Pass the -b flag through the kernel to init(8)  to
               skip execution of the rc.local script.

which is not very likely, since rc.local is executed by /etc/rc and not
directly by init.

init(8) got it right though:

     		 It normally runs the sequence of commands in the
     script /etc/rc.boot (see rc(8)) to check  the  file  system.
     If passed the -b flag from the boot program, init skips this
     step.

I have not tried this. All this applies to SunOS 3.[45], I have no
idea about 4.0.

-- 
Svante Lindahl		Front Capital Systems		zap at front.se



More information about the Comp.unix.questions mailing list