HP-UX Reference (11i v2 04/09) - 1M System Administration Commands A-M (vol 3)
k
kconfig(1M) kconfig(1M)
filename, replacing the file if it already exists. If no config is specified, the currently run-
ning kernel configuration will be exported, including any changes to it that are being
held for next boot. The exported file can be later imported using
kconfig -i on this
system or any other system with compatible HP-UX software. See kconfig(5) and sys-
tem(4) for more information about system files.
-f Tells kconfig to proceed with the requested operation despite its potentially dangerous
nature. (When kconfig is asked to make a change that could result in unintended data
loss, it will ask for confirmation if being run interactively, or print an error message and
stop otherwise. The change can be made, and the interactive confirmation bypassed, by
running the kconfig command with the -f option.)
-h Tells kconfig
to hold the requested changes until the next boot, even if they could be
applied immediately.
-H Discards all changes being held pending for next boot. The currently running
configuration will be used at next boot.
-i [config] filename
kconfig will import a kernel configuration from the system file named filename, which
may have been created by an invocation of
kconfig -e (on any system). If config is
specified, the resulting kernel configuration will be saved under that name. Otherwise,
the resulting kernel configuration will be applied to the currently running system,
overwriting any changes that were being held for next boot. (The new configuration
changes will be held until next boot if they cannot be applied immediately, or if the
-h
option is specified.)
A kernel configuration may not be imported successfully unless the running system has
all of the necessary kernel software installed. If the importing system is missing kernel
software components that were in use on the exporting system, the import will fail. See
the
-V option, below.
-K Prevents a backup of the currently running configuration before making the requested
change. For more information on backup configurations, see kconfig(5).
-l config kconfig will load the saved kernel configuration named config, overwriting any
changes that were being held for next boot. The state of the currently running system
will be changed to match the saved configuration. (If the changes cannot be applied
without a reboot, they will be marked to take effect at next boot.)
-n config The saved kernel configuration named config will be marked for use at next boot. Any
changes to the currently running configuration that are being held for next boot are dis-
carded.
-P fields Tells kconfig to include only the specified fields in its output, and to print them in the
machine-readable form described in kconfig(5). See the Developers Note, below. Not
valid in combination with
-v.
-r old new The saved kernel configuration named old will be renamed new. The name new must not
already be in use.
-s config kconfig will save the running kernel configuration under the name config.
-S kconfig will display all settings of the currently running configuration that are not at
their default value. In other words, it will execute
kcmodule -S
kctune -S
(If any additional kernel configuration data become available in future HP-UX releases,
settings of them will be included as well.) Not valid in combination with any other flags.
-t config title kconfig will change the title of the saved kernel configuration named config to the
given title . title will usually need to be quoted to avoid interpretation by the shell.
-v Includes verbose information about each saved kernel configuration in the output listing.
The information includes the name and title of the configuration, the pathname of the
associated kernel, the creation date and time, etc.
-V Requests strict version checking. With this option, an import operation will only succeed
if the kernel components installed on the importing system are the exact same versions
HP-UX 11i Version 2: September 2004 − 2 − Hewlett-Packard Company Section 1M−−349