mkroot(8) CLIX mkroot(8)
NAME
mkroot - Creates /dev/root and /dev/rroot device special files
SYNOPSIS
/etc/mkroot
DESCRIPTION
The mkroot command creates or updates the /dev/root and /dev/rroot files,
which are used to access the root filesystem.
The mkroot command first attempts to determine the major and minor device
numbers of the root filesystem. If unsuccessful, it will link /dev/root
and /dev/rroot to the usual root filesystem devices, /dev/dsk/s0u0p7.0 and
/dev/dsk/s0u0p7.0, or if successful, will create new /dev/root and
/dev/rroot devices if they are incorrect.
The mkroot command will have no effect if the /dev/root and /dev/rroot
devices are already correct.
EXAMPLES
The following command creates or updates /dev/root and /dev/rroot:
/etc/mkroot
FILES
/dev/root
Block special device to access the root filesystem.
/dev/rroot
Character special device to access the root filesystem.
/dev/dsk/s0u0p7.0
Default root filesystem block device.
/dev/rdsk/s0u0p7.0
Default root filesystem character device.
DIAGNOSTICS
The mkroot command will print an error message if it needs to create the
/dev/root or /dev/rroot devices and fails. This will happen if the
invoking user is not superuser.
EXIT VALUES
2/94 - Intergraph Corporation 1
mkroot(8) CLIX mkroot(8)
The mkroot command exits with a value of 0 if successful, or with a value
of -1 if an error occurred.
2 Intergraph Corporation - 2/94