HPlogo HP-UX Reference > C

create_sysfile(1M)

HP-UX 11i Version 2: December 2007 Update
» 

Technical documentation

 » Table of Contents

 » Index

NAME

create_sysfile — create a kernel system file

SYNOPSIS

/usr/lbin/sysadm/create_sysfile [outfile]

DESCRIPTION

The create_sysfile command creates a kernel configuration description file (system file) which can be used as input to the commands kconfig(1M) or mk_kernel(1M). The system file that is generated is of type version 1 (see system(4)) and is built according to the drivers required by the current system hardware. This command is intended for use during the install process when the system does not have a system file.

The create_sysfile command uses a template file as a starting point and then it scans the system hardware and adds all drivers it can identify to run the existing hardware. If outfile is specified, the resulting system file is sent to outfile. If outfile is not specified, the output is placed in the file /stand/system.

RETURN VALUE

Upon completion, create_sysfile returns with one of the following exit values:

0

Successful.

1

One or more errors were reported.

DIAGNOSTICS

Errors are sent to stderr. Most of the diagnostic messages from create_sysfile are self-explanatory. Errors cause create_sysfile to halt immediately.

AUTHOR

create_sysfile was developed by HP.

FILES

/usr/conf/gen/templates/*