Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!ispi!jbayer From: jbayer@ispi.UUCP (Jonathan Bayer) Newsgroups: comp.unix.xenix Subject: Re: haltsys/reboot vrs. shutdown (was Re: init's untimely death.) Keywords: haltsys, reboot, shutdown Message-ID: <658@ispi.UUCP> Date: 1 Jul 89 14:24:54 GMT References: <1989Jun21.114506.1378@tapa.uucp> <2045@egvideo.UUCP> <132@tridom.uucp> <2049@egvideo.UUCP> Reply-To: jbayer@ispi.UUCP (Jonathan Bayer) Distribution: na Organization: Intelligent Software Products, Inc. Lines: 28 In article <2049@egvideo.UUCP> edhew@egvideo.UUCP (Ed Hew) writes: >In article <132@tridom.uucp> you write: >I'd greatly prefer to run shutdown. It does all the above. haltsys/reboot >simply terminate the system. It's the same effect as using the "big red >switch", with the exception that the power is still on. The one thing I >don't really know is what it is exactly that haltsys does to terminate the >system. Anyone have any comments on how haltsys does it's job? Haltsys _does_ do a clean shutdown of the system. Shutdown does several things. It will wait a period of time, send messages to all the users, send various kill commands to all the running processes to notify them that the system is going down, do hard kills on the remaining processes, and finally it executes haltsys. Quoting from the SCO Manual: "The _haltyss_ utility performs a _uadmin()_ system call to flush out pending disk I/O, mark the file systems clean, and halt the processor." JB -- Jonathan Bayer Beware: The light at the end of the Intelligent Software Products, Inc. tunnel may be an oncoming dragon 500 Oakwood Ave. ...uunet!ispi!root Roselle Park, NJ 07204 (201) 245-5922 jbayer@ispi.UUCP