Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

config(1M)

mkfs(1M)

MKRS(1M)

Series 300 Only

NAME

mkrs − construct a recovery system

SYNOPSIS

/etc/mkrs [−v] [−f rcdev] [−r rootdev] [−t type] [−m series]

DESCRIPTION

Mkrs constructs a recovery system on removable media.  If a system is unbootable due to a corrupt root disk, the system administrator boots the recovery system and uses it as a temporary root volume.  Once booted on the recovery system, the administrator uses the tools it provides to repair the corrupt root disk. 

Options

The following options are recognized:

−v Normally, mkrs does its work silently.  The v (verbose) option prints a running history of the construction process. 

−f rcdev Specify the name of the device file for the recovery system (that is, the cartridge tape drive or flexible disk drive on which the recovery system is created).  Mkrs, by default, uses the following device file: /dev/update.src if it exists as a character device file, else /dev/rct/c0 if it exists as a character device file, else /dev/rct if it exists as a character device file, else the device file must be specified. 

If none of the above defaults exist on the system then one of these device files must be created or the −f option must be used to specify the device file to be used (the recovery device file can be either a block or a character device file). 

−r rootdev Specify the name of the device file for the root device.  Mkrs, by default, uses the following device file: /dev/dsk/0s0 if it exists as a block device file, else /dev/root if it exists as a block device file, else /dev/hd if it exists as a block device file, else the device file must be specified. 

If none of the above defaults exist on the system then one of these device files must be created or the −r option must be used to specify the device file to be used (the root device file must be a block device file). 

−t type Specify the type of removable media on which the recovery system is to be built.  Type can be either ct, specifying cartridge tape (one 150’ tape is all that is used) or md, specifying 3.5-inch double-sided, double-density micro disk.  If md is selected, two micro disks are used and mkrs provides prompts for when to insert each disk.  The default is ct. 

−m series Specify which type of machine is running this software (for example, −m 300). Normally, mkrs properly identifies the machine type.  This option can be used if mkrs is unable to identify the machine type. 

DIAGNOSTICS

An error message results if none of the default device files for the recovery device exist and the −f option is not used to specify a recovery device file. 

An error message results if none of the default device files for the root device exist and the −r option is not used to specify a root device file. 

An error message results if the machine type cannot be determined and the −m option is not used to specify the machine type. 

WARNINGS

Incorrectly specifying the recovery device may cause file system damage during recovery system construction. 

The recovery system provides super-user capabilities; the system administrator should have exclusive responsibility for its use. 

The recovery system uses the swap area of the system being repaired for its swap space. 

AUTHOR

Mkrs was developed by HP. 

SEE ALSO

HP-UX System Administrator Manual

config(1M), mkfs(1M). 

Hewlett-Packard Company  —  May 11, 2021

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