Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: sunloop!oconnor!porsche!miker@central.sun.com (Mike Raffety) Newsgroups: comp.sys.sun Subject: Re: "Best Way" to inhibit halting of workstations Keywords: SunOS Message-ID: <8904241438.AA26745@porsche> Date: 6 May 89 17:15:50 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 10 Approved: Sun-Spots@rice.edu Original-Date: Mon, 24 Apr 89 09:38:22 CDT X-Sun-Spots-Digest: Volume 7, Issue 273, message 5 of 23 > 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.