Path: utzoo!attcan!uunet!mcvax!enea!kth!draken!zap From: zap@nada.kth.se (Svante Lindahl) Newsgroups: comp.unix.questions Subject: Re: umount, and SunOS 3.X Summary: -b is documented, but the documentation is wrong Keywords: Sun boot init rc.boot Message-ID: <558@draken.nada.kth.se> Date: 11 Sep 88 02:15:16 GMT References: <27262@neabbs.UUCP> <520@cra2.apctrc.UUCP> <13448@mimsy.UUCP> <9192@elroy.Jpl.Nasa.Gov> Reply-To: zap@front.se (Svante Lindahl) Organization: Front Capital Systems, Stockholm, Sweden Lines: 30 In article <9192@elroy.Jpl.Nasa.Gov> david@elroy.Jpl.Nasa.Gov (David Robinson) writes: >In article <13448@mimsy.UUCP>, chris@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@front.se