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

h
hpux(1M) hpux(1M)
(PA-RISC Systems Only)
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.
This hpux(1M) manpage only documents features on PA-RISC sysetems. For bootstrap information on
Itanium(R)-based systems, see hpux.efi(1M).
Operations
The following operations are supported on PA-RISC systems:
boot Loads an object file from an HP-UX file system or raw device and transfers con-
trol to the loaded image. (Note, the boot operation is position dependent).
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 limited
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 con-
verters, 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 func-
tionality. 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 contains an HP-UX file sys-
tem, and that the filename resides in that file system.
354 Hewlett-Packard Company 1 HP-UX 11i Version 2: December 2007 Update