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