Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ checkswap(8) — NEXTSTEP 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

checkswap(8)  —  UNIX Programmer’s Manual

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 irrelevent (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_LABEL2/∗ disk present, valid label, not swapdisk ∗/
FSR_SWAPDISK3/∗ 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, Inc.  —  August 1, 1989

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026