Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
kmsystem(1M)							  kmsystem(1M)

NAME
       kmsystem	 -  set, query planned configuration attributes	of kernel mod-
       ules

SYNOPSIS
       system_file]

	      system_file] module_name

DESCRIPTION
       without any option or with the option only, displays  for  all  modules
       the  current  values  of	configurable attributes	to be used at the next
       kernel or module	build.	The option may be used to limit	this  informa-
       tion  to	 the specified module only.  The other options are used	to set
       configuration values that will be used at the  next  kernel  or	module
       build.	operates on configurable information associated	to both	static
       or loadable modules.  [See config(1M).]

       When module_name	is specified on	the command line, one or more  of  the
       or flags	must also be specified.

   Options
       Set the planned loading phase of	the specified module.

		 A  value  equal to (BOOT1), indicates that once the module is
		 configured and	registered with	the kernel, the	module	should
		 be loaded during phase	1 of the kernel	boot sequence.

		 A  value  equal to (BOOT2), indicates that once the module is
		 configured and	registered with	the kernel, the	module	should
		 be loaded during phase	2 of the kernel	boot sequence.

		 A  value  equal  to (INIT), indicates that once the module is
		 configured and	registered with	the kernel, the	module	should
		 be loaded during the init process.

		 A  value  equal  to (AUTO), indicates that once the module is
		 configured and	registered with	the kernel, the	module is  not
		 to  be	 loaded	upon system reboot, but	should remain ready to
		 load on demand, or by the DLKM	auto loading  mechanism	 (load
		 on device access).

		 Once the module is configured and registered with the kernel,
		 the configured	loading	phase can be changed dynamically using
		 the kmadmin(1M) command, option.

       Set the planned configuration of	the specified module.
		 Specifying will cause the module to be	configured at the next
		 kernel	or module build	[ see config(1M)  ];  specifying  will
		 cause	the  module not	to be configured.  If a	modular	system
		 file for the specified	module does not	exist then the	tradi-
		 tional	 system	file (see option) is used.  The	system file is
		 modified accordingly to set the planned configuration of mod-
		 ule_name.

       Set the planned linkage of the specified	module.	 Specifying
		 will  cause  the module to be configured as dynamically load-
		 able at the next kernel  or  module  build;  specifying  will
		 cause	the  module to be statically linked.  If the specified
		 module	does not support dynamic loading, exits	with an	error.

       Display the currently planned attribute values for the  specified  mod-
       ule.
		 A is displayed	for any	attribute not supported	by the module.
		 Information returned by this option includes:

	      module name

	      module version  (loadable	 modules  are  given  default  version
	      0.1.0; traditional modules are given default version 0.0.0)

	      planned configuration

	      planned linkage

	      planned loading phase

       Specify the traditional HP-UX system description	file name.
		 This  file  is	 used  when  getting/setting  configurable at-
		 tributes for traditional static modules.  Users  can  specify
		 the  complete	path  to the file name;	otherwise, will	search
		 the current directory for the specified  file.	  The  default
		 HP-UX	system description file	if the option is not specified
		 is This option	is for backward	compatibility.

EXAMPLES
       To display the planned values of	configurable attributes	of  the	 stape
       module:

       To specify that the stape module	should be statically linked:

       To  specify  that  the  mod1 module should be configured	as dynamically
       loadable, and loaded during the init process:

NOTES
       System administrators must use and kmtune(1M) instead of	editing	system
       description  files  manually.   File format of system description files
       are subject to change, and provides compatibility in  the  event	 of  a
       format change.

RETURN VALUE
       Upon successful completion, returns with	a 0; otherwise it returns with
       a 1.

DIAGNOSTICS
       Output for queries is sent to  stdout.	Error  messages	 are  sent  to
       stderr.	Messages from are self-explanatory.

FILES
       Traditional and modular master configuration files

       Default HP-UX system description	file (traditional system file)

       Modular system files

SEE ALSO
       config(1M),  kmtune(1M),	kmadmin(1M), kminstall(1M), kmupdate(1M), mas-
       ter(4), system(4).

								  kmsystem(1M)

NAME | SYNOPSIS | DESCRIPTION | EXAMPLES | NOTES | RETURN VALUE | DIAGNOSTICS | FILES | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=kmsystem&sektion=1m&manpath=HP-UX+11.22>

home | help