Solaris
The Solaris kernel is stored in /kernel/unix. It is structured around loadable modules: executables that add capabilities and functionality to the system. Modules add flexibility in that they can be installed and uninstalled as needed. The operating system probes the hardware each time the system boots and loads the needed modules. Modules are stored in the subdirectories of /kernel.
The following commands display information about the current system configuration (in voluminous quantities):
-
modinfo Display loadable modules.
-
prtconf Show system hardware configuration (peripheral devices).
-
sysdef Display loadable modules, hardware configuration, and the values of some tunable kernel parameters.
In general, little kernel configuration is required on Solaris systems, other than adding modules or drivers to support new devices when they are installed.
Vendors generally provide installation instructions and associated
drivers along with their hardware. Device drivers can also be manually
loaded and unloaded with add_drv and
rem_drv, respectively, and other
modules can be loaded and unloaded with modload and modunload.
The /etc/system configuration file allows you to specify what modules are and are not loaded and to specify the values of system parameters. The latter occurs in the section headed by these comment lines:
* set: Set an integer variable in the kernel or a module * to a new value. * set scsi_options=0x58 set TS:ts_maxupri=69 set TS:ts_maxkmdpri=39
The sample set ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access