Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > k

kmpath(1M)

HP-UX 11i Version 1.6: June 2002
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

kmpath — retrieve kernel name and associated kernel component set information

SYNOPSIS

/usr/sbin/kmpath [-k] /usr/sbin/kmpath -c [kernel_name] /usr/sbin/kmpath -i [kernel_name]

DESCRIPTION

kmpath retrieves the main kernel file name and path information of the currently running kernel. kmpath also retrieves the Kernel ID String (KIS) and the associated /stand/dlkm.KIS directory of the current or specified kernel.

Each kernel is composed of several distributed component files, the kernel component set, which use a defined naming convention, and are all required for a kernel to boot and run properly. During the process of configuring a new kernel, a unique Kernel ID String (KIS) is embedded into the kernel image. The main kernel file (by default /stand/vmunix) is associated to its component files via the KIS. The /stand/dlkm.KIS directory contains several of the kernel component set files used by the DLKM infrastructure, including dynamically loadable kernel module images.

If no options are specified, kmpath returns the full path of the main kernel file of the currently running kernel, which constitutes the boot kernel path of the currently booted kernel (for example, /stand/vmunix).

Options

The kmpath options have the following meanings:

-k

Return the base name of the main kernel file of the currently running kernel (for example, vmunix).

-c [kernel_name]

Return the /stand/dlkm.KIS directory name. If kernel_name is not specified, KIS corresponds to the currently running kernel's Kernel ID String. If kernel_name is specified, KIS corresponds to the specified kernel's KIS.

-i [kernel_name]

If a kernel_name is not specified, return the KIS of the currently running kernel. If a kernel_name is specified, return the KIS associated with the specified kernel.

FILES

/stand/kernel_name

Main kernel file.

/stand/dlkm.KIS

Directory containing DLKM-related elements of the kernel component set. (KIS is the Kernel ID string in the corresponding kernel image).

/stand/krs/KIS.p0

Kernel-specific kernel registry file. Element of the kernel component set that contains kernel-specific configuration data persistent across system reboot. (KIS is the Kernel ID string in the corresponding kernel image).

/stand/boot.KIS

Directory that contains links to the files in the kernel component set that are required by the boot loader during the process of booting a kernel with Kernel ID String KIS.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2002 Hewlett-Packard Development Company, L.P.