HP-UX Reference (11i v3 07/02) - 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][variable
=value...]
hpux ll [devicefile ] (same as
hpux ls -aFln)
hpux ls [-aFiln][devicefile ]
hpux set autofile devicefile string
hpux show autofile [devicefile ]
hpux -v
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 section.
This hpux(1M) manpage only documents features on PA-RISC systems. 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.
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 , and show autofile 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. The n is the minor
number that controls manager-dependent functionality and is typically 0 or omitted. The file name part,
filename, is a standard HP-UX path name. Some hpux operations have defaults for particular com-
ponents. 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 system, and that the
filename resides in that file system.
A typical boot devicefile specification is
disc(0/5/1/2/4.0.0;0)/stand/vmunix
The manager is disc, the lunpath hardware path (see intro(7)) to the disk device is
0/5/1/2/4.0x0.0x0, and /stand/vmunix is the filename for the boot device.
310 Hewlett-Packard Company 1 HP-UX 11i Version 3: February 2007