Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!uunet!virtech!cpcahil From: cpcahil@virtech.uucp (Conor P. Cahill) Newsgroups: comp.unix.sysv386 Subject: Re: Rebooting Sys V/386 Keywords: shutdown reboot autoboot Message-ID: <1991Mar28.173232.1409@virtech.uucp> Date: 28 Mar 91 17:32:32 GMT References: <419@srs.UUCP> <563@bigfoot.first.gmd.de> Organization: Virtual Technologies Inc. Lines: 16 tmh@prosun.first.gmd.de (Thomas Hoberg) writes: >/etc/uadmin won't help there, because it only works from the console. However >the system call should work. It takes two arguments (command + function), which >are defined in /usr/include/sys/uadmin.h. Not having the documentation at hand >I guess it should be uadmin(A_SHUTDOWN, AD_BOOT) for you. You don't want to do this because uadmin(2) only attempts to unmount root and then locks up the system. No other file systems are unmounted, no SIGTERMs are sent to processes, so the system will end up quite messed up when you do reboot it. -- Conor P. Cahill (703)430-9247 Virtual Technologies, Inc. uunet!virtech!cpcahil 46030 Manekin Plaza, Suite 160 Sterling, VA 22170