kcpath(1M)kcpath(1M)NAMEkcpath - print kernel configuration pathnames
SYNOPSIS
[config]
[config]
DESCRIPTION
prints the pathnames associated with a kernel configuration. If config
is specified, gives information about the saved kernel configuration
named config. Otherwise, gives information about the currently running
configuration. See kconfig(5) for information on saved kernel configuā
rations.
Options
will print the basename of the currently running kernel.
will print the full pathname of the directory containing the
configuration.
will print the full pathname of the kernel executable for the
configuration.
If no options are specified, acts as if was specified.
RETURN VALUE
returns zero for success. It returns non-zero and prints a diagnostic
message if an error occurs.
EXAMPLES
Print the basename of the currently running kernel:
Print the directory containing the currently running kernel:
Print the pathname of the currently running kernel executable:
Print the directory containing the kernel for "str1013":
Print the pathname of the kernel executable for "str1013":
SEE ALSOkconfig(5).
available on
kcpath(1M)