ROOTMARK(1M)
Series 500 Only
NAME
rootmark − mark/unmark volume as HP-UX root volume
SYNOPSIS
/etc/rootmark [ −m | −u ] filespec
Remarks:
Rootmark is implemented on the Series 500 only.
DESCRIPTION
Rootmark enables you to control which mass storage device contains your HP-UX root (/) directory. The HP-UX operating system searches mass storage devices and uses the first root volume it finds.
Filespec is usually a character special file which points to a mass storage volume initialized with Structured Directory Format (SDF). If invoked with no option, rootmark tells the current state of the specified volume. If −m is specified, then the specified volume is marked as a root volume. If −u is specified, the specified volume is marked as not a root volume. Rootmark is silent if successful.
RETURN VALUE
Rootmark sends an error message to standard error and returns a non-zero value if it cannot read or write a volume, or if a volume is not SDF. Rootmark returns 1 for incorrect syntax, 2 for a file system problem, and 3 for a volume that is not in SDF.
EXAMPLE
The following example makes /dev/rhd usable as root; you must super-user to execute the example:
# rootmark /dev/rhd # check if /dev/rhd is a root volume
/dev/rhd is marked as NOT a root volume.
# rootmark -m /dev/rhd # mart it as the root volume
# rootmark /dev/rhd # check results
/dev/rhd is marked as a root volume.
SEE ALSO
mount(1), osmgr(1M), sdfinit(1M).
WARNINGS
A volume must not be marked as a root volume unless it contains all the directories and files that HP-UX requires for system initialization.
Never mark any media shipped from Hewlett-Packard as not a root volume, in case you need to re-install HP-UX from that media.
Hewlett-Packard Company — April 12, 1993