Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages

Plan 9 - man page for reboot (plan9 section 3)

REBOOT(3)			     Library Functions Manual				REBOOT(3)

NAME
       reboot - reboot CPU after loss of file server connection

SYNOPSIS
       write(cfd, "push reboot", 11);

       fd = open("#^/deltat", OWRITE);
       fprint(fd, "%d", delaytime);

DESCRIPTION
       This  is  a  combined  device  and  stream  module (see stream(3)).  The bootstrap program
       boot(8) pushes the module onto the file server connection of a  CPU  server.   The  system
       will then reboot automatically if the connection hangs up.  The reboot may be postponed by
       delaytime milliseconds by writing the decimal value of delaytime to  Conventionally,  this
       is done by /rc/bin/cpurc (see cpurc(8)).  This mechanism may be used to cause the machines
       at a particular site to come up in a fixed order, such as after a power failure.

SEE ALSO
       stream(3)

SOURCE
       /sys/src/9/port/devreboot.c

											REBOOT(3)


All times are GMT -4. The time now is 05:58 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password