kreg(8) — Maintenance
Digital
NAME
kreg − Maintains the system file that registers kernel layered products
SYNOPSIS
kreg -d subset | -l vender subset directory
FLAGS
-d subsetDeletes the entry for the specified layered product when you remove it from the system.
-l vender subset directory
Loads the data that controls how to include the layered product in the kernel build process.
DESCRIPTION
The kreg command maintains the /sys/conf/.product.list system file, which registers kernel layered products. The kreg command creates the file if it does not exist. The file enables system utilities or user supplied commands to locate the kernel parts of a layered product, and it provides information about layered products.
The kernel tools use the /sys/conf/.product.list file to build a layered product into the kernel. You can use the file to register a kernel layered product that has been loaded into the system. The file also can be used by the layered product’s Software Control Program (SCP), which is called by the setld command.
You copy the /sys/conf/.product.list file into the file that is used to extend the kernel configuration files and that has the following syntax: /sys/conf/NAME.list
The NAME variable specifies the system name that also is used in the system configuration file that has the following syntax: /sys/conf/NAME
The doconfig command also will copy the /sys/conf/.product.list file.
The kreg command must be invoked from the root (/) directory. The command can be used only for subsets that are loaded by using the setld command. Also, you must be superuser to use the kreg command.
FILES
/sys/conf/.product.list
Contains layered product information.
/sys/conf/NAME.listUsed to extend the kernel configuration files.
RELATED INFORMATION
Commands: /sbin/kreg(8), setld(8), doconfig(8).
Guide to System Administration