xref: /illumos-gate/usr/src/cmd/nsadmin/system (revision 48e2f2836abbe41b87fc711b76d475c5c6223cbc)
1*
2* CDDL HEADER START
3*
4* The contents of this file are subject to the terms of the
5* Common Development and Distribution License, Version 1.0 only
6* (the "License").  You may not use this file except in compliance
7* with the License.
8*
9* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10* or http://www.opensolaris.org/os/licensing.
11* See the License for the specific language governing permissions
12* and limitations under the License.
13*
14* When distributing Covered Code, include this CDDL HEADER in each
15* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16* If applicable, add the following below this CDDL HEADER, with the
17* fields enclosed by brackets "[]" replaced with your own identifying
18* information: Portions Copyright [yyyy] [name of copyright owner]
19*
20* CDDL HEADER END
21*
22*
23* SYSTEM SPECIFICATION FILE
24*
25
26* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! NOTE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
27*
28* It is not recommended to edit this file directly but rather
29* to deliver configuration fragments into files under /etc/system.d;
30* files in /etc/system.d are combined in alphabetical order and read by
31* the kernel before this file (/etc/system) is processed.
32*
33* Refer to the system(4) manual page for more information and
34* recommendations on naming fragment files.
35*
36* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! NOTE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
37
38* moddir:
39*
40*	Set the search path for modules.  This has a format similar to the
41*	csh path variable. If the module isn't found in the first directory
42*	it tries the second and so on. The default is /kernel /usr/kernel
43*
44*	Example:
45*		moddir: /kernel /usr/kernel /other/modules
46
47
48
49* root device and root filesystem configuration:
50*
51*	The following may be used to override the defaults provided by
52*	the boot program:
53*
54*	rootfs:		Set the filesystem type of the root.
55*
56*	rootdev:	Set the root device.  This should be a fully
57*			expanded physical pathname.  The default is the
58*			physical pathname of the device where the boot
59*			program resides.  The physical pathname is
60*			highly platform and configuration dependent.
61*
62*	Example:
63*		rootfs:ufs
64*		rootdev:/sbus@1,f8000000/esp@0,800000/sd@3,0:a
65*
66*	(Swap device configuration should be specified in /etc/vfstab.)
67
68
69
70* exclude:
71*
72*	Modules appearing in the moddir path which are NOT to be loaded,
73*	even if referenced. Note that `exclude' accepts either a module name,
74*	or a filename which includes the directory.
75*
76*	Examples:
77*		exclude: win
78*		exclude: sys/shmsys
79
80
81
82* forceload:
83*
84*	Cause these modules to be loaded at boot time, (just before mounting
85*	the root filesystem) rather than at first reference. Note that
86*	forceload expects a filename which includes the directory. Also
87*	note that loading a module does not necessarily imply that it will
88*	be installed.
89*
90*	Example:
91*		forceload: drv/foo
92
93
94
95* set:
96*
97*	Set an integer variable in the kernel or a module to a new value.
98*	This facility should be used with caution.  See system(4).
99*
100*	Examples:
101*
102*	To set variables in 'unix':
103*
104*		set nautopush=32
105*		set maxusers=40
106*
107*	To set a variable named 'debug' in the module named 'test_module'
108*
109*		set test_module:debug = 0x13
110
111