dn_setup(8)dn_setup(8)NAMEdn_setup - Creates and maintains device name databases. (The -san‐
ity_check option is provided for system administration.)
SYNOPSIS
/sbin/dn_setup [option]
OPTIONS
Verifies the consistency and currency of the device special files and
the directory hierarchy. The message Passed is displayed if the check
is successful.
The -sanity_check option is the only option that a system admin‐
istrator should use. Use the following options only under guid‐
ance of your technical support representative. Runs at boot
time to create all the default device special databases, files,
and directories. Creates the required device special directo‐
ries only. Creates the class and category databases only.
The following options are for internal use only and are used for debug‐
ging. Using these options can cause unrecoverable errors and prevent
your system from booting: Deletes everything in the device special
directory tree and re-creates the entire tree (including device special
files). Removes all the default device special databases, files, and
directories. The -init prompts you to run the following command, which
recreates all the device special files.
# /sbin/dsfmgr -K
DESCRIPTION
The /sbin/dn_setup script runs automatically at system startup to cre‐
ate device special file names and is not normally used by administra‐
tors. However, you might see device-related error messages at the sys‐
tem console during system startup, indicating that the system is unable
to assign device special file names. Following such errors, use the
-sanity_check option to verify the device name database.
If the -sanity_check option displays messages other than Passed, use
the dsfmgr command to further diagnose and correct the problem.
The /sbin/bcheckrc utility also verifies device special files during
system startup. If /sbin/bcheckrc discovers any problems, it displays
the following message at the console: bcheckrc: Device Naming failed
initial check.
Run dsfmgr -v, and if no errors are
reported, exit or type CTRL-D to continue
booting normally.
RESTRICTIONS
Other than the -sanity_check option, use the dn_setup command only
under the guidance of your technical support representative. Otherwise,
you might alter critical system databases and prevent the system from
booting. Such database problems might not be recoverable, requiring a
full restoration of the operating system from your backup.
EXAMPLES
Typical use of the command is as follows: # /sbin/dn_setup -san‐
ity_check Passed.
SEE ALSO
Commands: dsfmgr(8), bcheckrc(8)
Hardware Management
dn_setup(8)