drd-unrehost(1M)drd-unrehost(1M)NAME
drd unrehost - remove the system information file, EFI/HPUX/SYS‐
INFO.TXT, from the EFI partition of a disk previously specified as the
target of a "drd rehost" command, and optionally preserve a copy of it
in a file on the booted system.
SYNOPSIS
system_information_file target_device_file] option_file]
DESCRIPTION
The command removes EFI/HPUX/SYSINFO.TXT, and optionally preserves a
copy of it in a file on the booted system.
A system administrator can execute the command after having previously
issued the "drd rehost" command, specifying the same target, if the
disk should not be rehosted.
The format of the sysinfo file is defined in sysinfo(4). To determine
the most recent patch that supplies sysinfo(4), please consult the DRD
web site, http:docs.hp.comenDRD.
Options
recognizes the following options:
Displays the usage message.
Sets preview mode.
Specifies the file to which the EFI/HPUX/SYSINFO.TXT is to be
copied. If not specified, the file is not copied.
Decreases the verbosity level by one each time it is specified.
For example,
will reduce the verbosity from the default value of 4 to
2. If both and are included on the command line, the
effective verbosity is 2. The minimum verbosity level is
0. (See also the option).
Increases the verbosity level by one each time it is specified.
For example,
will increase the effective verbosity from the default
value of 4 to 5. If both and are included on the command
line, the effective verbosity is 3. The maximum verbosity
level is 5. (See also the option).
Displays the list of possible
(extended) options.
Sets the extended option to a value. See Extended -x Options
definitions below.
Gets the extended options from a file.
Specifies the block device special file of a single writeable
physical disk from whose EFI partition
the file EFI/HPUX/SYSINFO.TXT is to be removed. If no
target is specified, the inactive system image is used as
a target.
Extended -x Options
recognizes the following (extended) options:
Usage: Basic
This is the path to the log file for this command. Each time
DRD is run, this file will grow larger. This can be changed,
for example, to a month-specific location for easier archiving,
off-host backup, and rotation.
Usage: Basic
Specifies the level of message verbosity in the log file (See
also -x verbosity). Legal values are:
Only ERROR messages and the startingending BANNER messages.
Adds WARNING messages.
Adds NOTE messages.
Adds INFO messages (informational messages preceded by the '*'
character).
Adds verbose INFO messages.
Adds very-verbose INFO messages.
Usage: Basic
This is the file containing system information attributes, such
as hostname and IP address, that is copied to the EFI partition
by the drd rehost command and consequently applied by
auto_parms(1M) when the rehosted image is booted. The file can
be removed from the EFI partition and optionally copied back to
the file system with the drd unrehost command. This extended
option provides the same functionality as the -f option.
Usage: Basic
Specifies the level of stderr verboseness:
Only ERROR messages and the startingending BANNER messages.
Adds WARNING messages.
Adds NOTE messages.
Adds INFO messages (informational messages preceded by the '*'
character).
Adds verbose INFO messages.
Adds very-verbose INFO messages.
Note: The '-v' option is equivalent to increasing ver‐
bosity by 1 (e.g., from 3 to 4) and the '-q' option is
equivalent to decreasing verbosity by 1. The '-v' and
'-q' options can be used more than once.
Return Values
returns the following values:
Success.
Error.
Warning.
Examples
To remove EFI/HPUX/SYSINFO.TXT from the EFI partition of the inactive
system image:
To remove EFI/HPUX/SYSINFO.TXT from the EFI partition of the disk
/dev/disk/disk9:
To remove EFI/HPUX/SYSINFO.TXT from the EFI partition of the inactive
system image, preserving a copy at /home/sysadmin/sysinfo_test:
To remove EFI/HPUX/SYSINFO.TXT from the EFI partition of the disk
/dev/dsk/c0t0d0, preserving a copy at /home/sysadmin/sysinfo_test:
AUTHOR
was developed by Hewlett-Packard Development Company, L.P.
FILES
Log file.
SEE ALSOauto_parms(1M), drd(1M), drd-activate(1M), drd-clone(1M), drd-deacti‐
vate(1M), drd-mount(1M), drd-rehost(1M), drd-runcmd(1M), drd-sta‐
tus(1M), drd-umount(1M), sysinfo(4)
Dynamic Root Disk Administrator's Guide, available at
http:docs/hp.comenDRD.
drd-unrehost(1M)