checkswap man page on OPENSTEP

Man page or keyword search:  
man Server   1419 pages
apropos Keyword Search (all sections)
Output format
OPENSTEP logo
[printable version]


checkswap(8)							  checkswap(8)

NAME
       checkswap - check for the presence of a swapdisk

SYNOPSIS
       /usr/etc/checkswap [options]

DESCRIPTION
       This  command  determines  whether  or not a swapdisk is present in the
       system.	A swapdisk is defined as a disk with a valid label whose first
       8  characters  are  "swapdisk".	 The  remainder	 of  the disk label is
       irrelevant (for example, a disk whose label  is	"swapdisk2"  would  be
       considered  a swapdisk).	 The results of are returned via an exit code.
       The possible exit codes are as follows:

	    FSR_NONE	   0	/* disk not present */
	    FSR_NOLABEL	   1	/* disk present, no valid label */
	    FSR_LABEL	   2	/* disk present, valid label, not swapdisk */
	    FSR_SWAPDISK   3	/* present, label, swapdisk */
	    FSR_ERROR	   -1	/* invalid argument */

       Options:

       -v     Normally, the results of checkswap are via exit code  only.   If
	      the  -v  flag  is	 present, verbose mode is used; all exit codes
	      will be reported via standard output as well as via exit code.

       -f     When present, indicates that the next argument is the  raw  disk
	      device to be checked.  The default is /dev/rsd0a.

NeXT Computer, Inc.		August 1, 1989			  checkswap(8)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OPENSTEP

List of man pages available for OPENSTEP

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net