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