home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 25.ddi / root.2 / usr / ucbinclude / sys / reboot.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-08  |  2.0 KB  |  61 lines

  1. /*    Copyright (c) 1990 UNIX System Laboratories, Inc.    */
  2. /*    Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T    */
  3. /*      All Rights Reserved      */
  4.  
  5. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF         */
  6. /*    UNIX System Laboratories, Inc.                         */
  7. /*    The copyright notice above does not evidence any       */
  8. /*    actual or intended publication of such source code.    */
  9.  
  10.  
  11. #ident    "@(#)//usr/ucbinclude/sys/reboot.h.sl 1.1 4.0 12/08/90 16675 AT&T-USL"
  12.  
  13. /*******************************************************************
  14.  
  15.         PROPRIETARY NOTICE (Combined)
  16.  
  17. This source code is unpublished proprietary information
  18. constituting, or derived under license from AT&T's UNIX(r) System V.
  19. In addition, portions of such source code were derived from Berkeley
  20. 4.3 BSD under license from the Regents of the University of
  21. California.
  22.  
  23.  
  24.  
  25.         Copyright Notice 
  26.  
  27. Notice of copyright on this source code product does not indicate 
  28. publication.
  29.  
  30.     (c) 1986,1987,1988,1989  Sun Microsystems, Inc
  31.     (c) 1983,1984,1985,1986,1987,1988,1989  AT&T.
  32.               All rights reserved.
  33. ********************************************************************/ 
  34.  
  35. #ifndef _VM_REBOOT_H
  36. #define _VM_REBOOT_H
  37.  
  38. /*
  39.  * Arguments to reboot system call and flags to init.
  40.  *
  41.  * On the VAX, these are passed to boot program in r11,
  42.  * and on to init.
  43.  *
  44.  * On the Sun, these are parsed from the boot command line
  45.  * and used to construct the argument list for init.
  46.  */
  47. #define    RB_AUTOBOOT    0    /* flags for system auto-booting itself */
  48.  
  49. #define    RB_ASKNAME    0x001    /* ask for file name to reboot from */
  50. #define    RB_SINGLE    0x002    /* reboot to single user only */
  51. #define    RB_NOSYNC    0x004    /* dont sync before reboot */
  52. #define    RB_HALT        0x008    /* don't reboot, just halt */
  53. #define    RB_INITNAME    0x010    /* name given for /etc/init */
  54. #define    RB_NOBOOTRC    0x020    /* don't run /etc/rc.boot */
  55. #define    RB_DEBUG    0x040    /* being run under debugger */
  56. #define    RB_DUMP        0x080    /* dump system core */
  57. #define    RB_WRITABLE    0x100    /* mount root read/write */
  58. #define    RB_STRING    0x200    /* pass boot args to prom monitor */
  59.  
  60. #endif    /* _VM_REBOOT_H */
  61.