Rebooting Sys V/386

Conor P. Cahill cpcahil at virtech.uucp
Fri Mar 29 03:32:32 AEST 1991


tmh at 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 



More information about the Comp.unix.sysv386 mailing list