HP-UX Reference (11i v2 03/08) - 1M System Administration Commands A-M (vol 3)

h
hpux(1M) hpux(1M)
NAME
hpux - HP-UX bootstrap
SYNOPSIS
hpux [-F][-lm][
-vm][-tm][-lq][-a[CRS
D] devicefile ][-fnumber ]
[
-istring ][boot ][devicefile ]
hpux ll [ devicefile ] (same as
hpux ls -aFln)
hpux ls [-aFiln][devicefile ]
hpux set autofile devicefile string
hpux show autofile [ devicefile ]
hpux -v
hpux restore devicefile (Workstations only; see DEPENDENCIES.)
DESCRIPTION
hpux is the HP-UX specific secondary system loader (SSL) utility for bootstrap (see isl(1M) for the initial
system loader). It supports the operations summarized below, as shown in the SYNOPSIS and detailed
later in this DESCRIPTION.
boot Loads an object file from an HP-UX file system or raw device and transfers
control to the loaded image. (Note, the boot
operation is position depen-
dent).
ll Lists the contents of HP-UX directories in a format similar to ls -aFln.
(See ls(1); ls only works on a local disk with a HFS file system).
ls Lists the contents of HP-UX directories. (See ls(1); ls only works on a local
disk with a HFS file system).
show autofile Displays the contents of the autoexecute file.
set autofile Changes the contents of the autoexecute file to that specified by string.
-v Displays the release and version numbers of the hpux utility.
restore Recovers the system from a properly formatted bootable tape. (Workstation
specific; see DEPENDENCIES.)
hpux commands can be given interactively from the keyboard, or provided in an isl
autoexecute file.
hpux is limited to operations on the interface initialized by pdc(1M). In most cases, operations are lim-
ited to the boot device interface.
Notation
hpux accepts numbers (numeric constants) in many of its options. Numbers follow the C language nota-
tion for decimal, octal, and hexadecimal constants. A leading 0 (zero) implies octal and a leading 0x or 0X
implies hexadecimal. For example, 037, 0x1F, 0X1f, and 31 all represent the same number, decimal 31.
hpux boot, ll, ls, set autofile, show autofile, and restore operations accept devicefile
specifications, which have the following format:
manager(w/x.y.z;n)filename
The devicefiles specification is comprised of a device name and a file name. The device name
( manager(w/x.y.z;n) ), consists of a generic name of an I/O system manager (device or interface
driver) such as disc, a hardware path to the device, and minor number. The manager name can be
omitted entirely if the default is used. w/x.y.z is the physical hardware path to the device, identifying
bus converters, slot numbers, and hardware addresses. For workstations, there are a set of mnemonics
that can be used instead of the hardware paths. The n is the minor number that controls manager-
dependent functionality. The file name part, filename, is a standard HP-UX path name. Some hpux
operations have defaults for particular components. A devicefile specification containing a device part
only specifies a raw device. A devicefile specification containing a file name implies that the device con-
tains an HP-UX file system, and that the filename resides in that file system.
A typical boot devicefile specification is
disc(2/4.0.0;0)/stand/vmunix
The manager is disc, the hardware path to the disk device is 2/4.0.0, the minor number shown as 0
by default, and the /stand/vmunix is the filename for the boot device.
Section 1M280 Hewlett-Packard Company 1 HP-UX 11i Version 2: August 2003