kconfig.1m (2010 09)

k
kconfig(1M) kconfig(1M)
-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
as those installed on the exporting system.
-w Prints information about the original source of the currently running configuration.
Specifically, it describes the source of the most recent complete kernel configuration
operation (load, boot, or import). Also, if a saved configuration is marked for use at next
boot, this option will identify it.
Note that this source information does not imply that the currently running configuration
matches its original source.
kconfig -w may say that the currently running
configuration was loaded from the saved configuration foo, but that does not mean that
the two are identical. Either one may have been changed since the load occurred.
Developer’s Note
The layout and content of
kconfig’s output may change without notice, except when -P
fields is
specified. Scripts or applications that need to parse the output of
kconfig are expected to use the
-P
fields option. See kconfig(5) for details.
The fields supported in a
kconfig request are:
name The name of the saved kernel configuration.
title The title for the saved kernel configuration. If the configuration does not have a
title, this field will be empty.
savetime The date and time of the last save (kconfig -s) of the configuration, in the for-
mat returned by ctime().
createtime The date and time when the configuration was created, in the format returned by
ctime().
createuser The username of the user who created the configuration, if available.
modifytime The date and time of the last change to the saved configuration, in the format
returned by ctime().
modifyuser The username of the user who made the last change to the saved configuration, if
available.
kernel The pathname of the corresponding kernel directory.
The special field name
ALL may be specified to indicate that all defined fields should be included in the
output. The output may include fields not listed in this man page. The fields will be listed in unspecified
order.
Additional fields may be added in future releases or in patches.
RETURN VALUE
kconfig returns one of the following values:
0 The requested operation was successful. If -D was specified, this return value indicates that there
are no configuration changes being held for next boot.
HP-UX 11i Version 3: September 2010 3 Hewlett-Packard Company 3