info.4 (2010 09)
i
info(4) info(4)
NAME
info - diskless client configuration information file
DESCRIPTION
The
info file is a POSIX shell sourceable file which contains parameter definitions used at boot time.
Typically, it will be an empty file and default values will be used for all parameters. Following is the list
of parameters which can be defined in the
info file:
ROOT_SERVER_IP
Specifies the IP address of the client’s private root server. If this is not
specified, the client’s private root server defaults to the boot server.
PRIVATE_ROOT Specifies the pathname to the client’s private root on the private root
server. If this is not specified, the client’s private root path defaults to
/export/private_roots/
client_name .
MOUNT_ROOT_OPTS
Specifies the NFS mount options to mount the client’s private root from
the private root server. If this is not specified, the mount options default
to
boot,hard,nointr,nodevs
.
MOUNT_STAND_OPTS
Specifies the NFS mount options to mount the client’s
/stand directory
from the boot server. If this is not specified, the mount options default to
boot,hard,nointr,nodevs
.
NO_SWAP_TO_NFS Specifies whether NFS should be configured as primary swap. (NOTE: In
order to swap to NFS, a diskless kernel must be configured with tunable
parameter
remote_nfs_swap set to 1.) If a diskless machine has a
local swap disk and swap to NFS is not desired, the NO_SWAP_TO_NFS
parameter should be set to the value of 1 and the diskless kernel should
be configured without setting remote_nfs_swap
to 1. If this parame-
ter is not specified in the
info file and the kernel tunable parameter
remote_nfs_swap is set to 1, then NFS will be configured as primary
swap.
REMOVE_EXTRA_SWAPFILES
If not set, this parameter defaults to a value of 1, and results in the
removal of all swapfiles above the configured swap minimum (swap min
is specified in the client’s /etc/fstab) when a diskless client boots.
This ensures that extraneous swapfiles at boot time are removed, thus
freeing disk space. If REMOVE_EXTRA_SWAPFILES
is set to 0 in the
info file, removal of extra swapfiles is disabled. This may result in fas-
ter boot times due to the time savings in creating additional swap files.
The
info file resides in the same directory as the client’s kernel (
/export/tftpboot/client /stand)
on the boot server and is retrieved at boot time using
tftp command. By default, when a diskless client
is created, an empty info file is placed in the client’s kernel directory. This ensures that all parameters
revert to their default values (see above). If the file is not present, this is an error.
EXAMPLES
An example
info file is shown below:
# Sample info(4) file:
# set NO_SWAP_TO_NFS
NO_SWAP_TO_NFS=1
FILES
/export/tftpboot/client /stand/info
HP-UX 11i Version 3: September 2010 − 1 − Hewlett-Packard Company 1