17c478bd9Sstevel@tonic-gate* 27c478bd9Sstevel@tonic-gate* CDDL HEADER START 37c478bd9Sstevel@tonic-gate* 47c478bd9Sstevel@tonic-gate* The contents of this file are subject to the terms of the 57c478bd9Sstevel@tonic-gate* Common Development and Distribution License, Version 1.0 only 67c478bd9Sstevel@tonic-gate* (the "License"). You may not use this file except in compliance 77c478bd9Sstevel@tonic-gate* with the License. 87c478bd9Sstevel@tonic-gate* 97c478bd9Sstevel@tonic-gate* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 107c478bd9Sstevel@tonic-gate* or http://www.opensolaris.org/os/licensing. 117c478bd9Sstevel@tonic-gate* See the License for the specific language governing permissions 127c478bd9Sstevel@tonic-gate* and limitations under the License. 137c478bd9Sstevel@tonic-gate* 147c478bd9Sstevel@tonic-gate* When distributing Covered Code, include this CDDL HEADER in each 157c478bd9Sstevel@tonic-gate* file and include the License file at usr/src/OPENSOLARIS.LICENSE. 167c478bd9Sstevel@tonic-gate* If applicable, add the following below this CDDL HEADER, with the 177c478bd9Sstevel@tonic-gate* fields enclosed by brackets "[]" replaced with your own identifying 187c478bd9Sstevel@tonic-gate* information: Portions Copyright [yyyy] [name of copyright owner] 197c478bd9Sstevel@tonic-gate* 207c478bd9Sstevel@tonic-gate* CDDL HEADER END 217c478bd9Sstevel@tonic-gate* 227c478bd9Sstevel@tonic-gate* 237c478bd9Sstevel@tonic-gate* SYSTEM SPECIFICATION FILE 247c478bd9Sstevel@tonic-gate* 257c478bd9Sstevel@tonic-gate 262b987d42SAlexander Eremin* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! NOTE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 272b987d42SAlexander Eremin* 282b987d42SAlexander Eremin* It is not recommended to edit this file directly but rather 292b987d42SAlexander Eremin* to deliver configuration fragments into files under /etc/system.d; 302b987d42SAlexander Eremin* files in /etc/system.d are combined in alphabetical order and read by 312b987d42SAlexander Eremin* the kernel before this file (/etc/system) is processed. 322b987d42SAlexander Eremin* 33*bbf21555SRichard Lowe* Refer to the system(5) manual page for more information and 342b987d42SAlexander Eremin* recommendations on naming fragment files. 352b987d42SAlexander Eremin* 362b987d42SAlexander Eremin* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! NOTE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 372b987d42SAlexander Eremin 387c478bd9Sstevel@tonic-gate* moddir: 397c478bd9Sstevel@tonic-gate* 407c478bd9Sstevel@tonic-gate* Set the search path for modules. This has a format similar to the 417c478bd9Sstevel@tonic-gate* csh path variable. If the module isn't found in the first directory 427c478bd9Sstevel@tonic-gate* it tries the second and so on. The default is /kernel /usr/kernel 437c478bd9Sstevel@tonic-gate* 447c478bd9Sstevel@tonic-gate* Example: 457c478bd9Sstevel@tonic-gate* moddir: /kernel /usr/kernel /other/modules 467c478bd9Sstevel@tonic-gate 477c478bd9Sstevel@tonic-gate 487c478bd9Sstevel@tonic-gate 497c478bd9Sstevel@tonic-gate* root device and root filesystem configuration: 507c478bd9Sstevel@tonic-gate* 517c478bd9Sstevel@tonic-gate* The following may be used to override the defaults provided by 527c478bd9Sstevel@tonic-gate* the boot program: 537c478bd9Sstevel@tonic-gate* 547c478bd9Sstevel@tonic-gate* rootfs: Set the filesystem type of the root. 557c478bd9Sstevel@tonic-gate* 567c478bd9Sstevel@tonic-gate* rootdev: Set the root device. This should be a fully 577c478bd9Sstevel@tonic-gate* expanded physical pathname. The default is the 587c478bd9Sstevel@tonic-gate* physical pathname of the device where the boot 597c478bd9Sstevel@tonic-gate* program resides. The physical pathname is 607c478bd9Sstevel@tonic-gate* highly platform and configuration dependent. 617c478bd9Sstevel@tonic-gate* 627c478bd9Sstevel@tonic-gate* Example: 637c478bd9Sstevel@tonic-gate* rootfs:ufs 647c478bd9Sstevel@tonic-gate* rootdev:/sbus@1,f8000000/esp@0,800000/sd@3,0:a 657c478bd9Sstevel@tonic-gate* 667c478bd9Sstevel@tonic-gate* (Swap device configuration should be specified in /etc/vfstab.) 677c478bd9Sstevel@tonic-gate 687c478bd9Sstevel@tonic-gate 697c478bd9Sstevel@tonic-gate 707c478bd9Sstevel@tonic-gate* exclude: 717c478bd9Sstevel@tonic-gate* 727c478bd9Sstevel@tonic-gate* Modules appearing in the moddir path which are NOT to be loaded, 737c478bd9Sstevel@tonic-gate* even if referenced. Note that `exclude' accepts either a module name, 747c478bd9Sstevel@tonic-gate* or a filename which includes the directory. 757c478bd9Sstevel@tonic-gate* 767c478bd9Sstevel@tonic-gate* Examples: 777c478bd9Sstevel@tonic-gate* exclude: win 787c478bd9Sstevel@tonic-gate* exclude: sys/shmsys 797c478bd9Sstevel@tonic-gate 807c478bd9Sstevel@tonic-gate 817c478bd9Sstevel@tonic-gate 827c478bd9Sstevel@tonic-gate* forceload: 837c478bd9Sstevel@tonic-gate* 847c478bd9Sstevel@tonic-gate* Cause these modules to be loaded at boot time, (just before mounting 857c478bd9Sstevel@tonic-gate* the root filesystem) rather than at first reference. Note that 867c478bd9Sstevel@tonic-gate* forceload expects a filename which includes the directory. Also 877c478bd9Sstevel@tonic-gate* note that loading a module does not necessarily imply that it will 887c478bd9Sstevel@tonic-gate* be installed. 897c478bd9Sstevel@tonic-gate* 907c478bd9Sstevel@tonic-gate* Example: 917c478bd9Sstevel@tonic-gate* forceload: drv/foo 927c478bd9Sstevel@tonic-gate 937c478bd9Sstevel@tonic-gate 947c478bd9Sstevel@tonic-gate 957c478bd9Sstevel@tonic-gate* set: 967c478bd9Sstevel@tonic-gate* 977c478bd9Sstevel@tonic-gate* Set an integer variable in the kernel or a module to a new value. 98*bbf21555SRichard Lowe* This facility should be used with caution. See system(5). 997c478bd9Sstevel@tonic-gate* 1007c478bd9Sstevel@tonic-gate* Examples: 1017c478bd9Sstevel@tonic-gate* 1027c478bd9Sstevel@tonic-gate* To set variables in 'unix': 1037c478bd9Sstevel@tonic-gate* 1047c478bd9Sstevel@tonic-gate* set nautopush=32 1057c478bd9Sstevel@tonic-gate* set maxusers=40 1067c478bd9Sstevel@tonic-gate* 1077c478bd9Sstevel@tonic-gate* To set a variable named 'debug' in the module named 'test_module' 1087c478bd9Sstevel@tonic-gate* 1097c478bd9Sstevel@tonic-gate* set test_module:debug = 0x13 1107c478bd9Sstevel@tonic-gate 111