"Best Way" to inhibit halting of workstations
Mike Raffety
sunloop!oconnor!porsche!miker at central.sun.com
Sun May 7 03:15:50 AEST 1989
> I'm not sure this is a good idea. Doesn't /bin/login try to write a
> record into /etc/utmp, and so on? If you're booting single-user, then
> the root partition hasn't been fsck'd yet, and if it's hosed, you
> _don't_ want to go writing on it before you fsck it.
Well, /etc/rc.boot is already doing a "> /etc/mtab" to create an empty
file in your root, and mount (since root is mounted r/w on 3.x) is marking
the filesystem as mounted. A write to /etc/utmp seems fairly harmless.
Indeed, one might consider it a feature (;-) to have a record of
single-user boots.
More information about the Comp.sys.sun
mailing list