Solaris 10 System Administration 学习总结

来源:互联网 发布:秦国灭亡 知乎 编辑:程序博客网 时间:2024/05/11 17:10

1、 Managing File System

     In Solaris, each disk device is described in three ways, using three distinct naming conventions:

  • Physical device name Represents the full device pathname in the device information hierarchy.

  • Instance name Represents the kernel's abbreviation name for every possible device on the system.

  • Logical device name Used by system administrators with most file system commands to refer to devices

Device Information Commands

Command

Description

prtconf

Displays system configuration information, including the total amount of memory and the device configuration, as described by the system's hierarchy. This useful tool verifies whether a device has been seen by the system.

sysdef

Displays device configuration information, including system hardware, pseudo devices, loadable modules, and selected kernel parameters.

dmesg

Displays system diagnostic messages as well as a list of devices attached to the system since the most recent restart.

format

The format command displays both physical and logical device names for all available disks.

the system administrator can customize the way in which kernel modules are loaded by modifying the /etc/system file.

 

Third-party device drivers are installed as software packages using the pkgadd command. At a minimum, this software includes a device driver and its associated configuration (.conf) file. The .conf file resides in the /kernel/drv directory. Table 1.2 describes the contents of the module subdirectories located in the /kernel directory.

Table 1.2. Kernel Module Subdirectories

Directory

Description

drv/sparcv9

Contains loadable device drivers and pseudo device drivers

exec/sparcv9

Contains modules used to run different types of executable files or shell scripts

fs/sparcv9

Contains file system modules such as ufs, nfs, procfs, and so on

misc/sparcv9

Contains miscellaneous system-related modules such as swapgeneric and usb

sched/sparcv9

Contains operating system schedulers

strmod/sparcv9

Contains System V STREAMS loadable modules (generalized connection between users and device drivers)

sys/sparcv9

Contains loadable system calls such as system semaphore and system accounting operations

原创粉丝点击