如果在启动solaris系统之后发现有的外围设备忘记了开启,可以通过以下命令来重载:
To gain access to the CD-ROM, you could halt the system, turn on power to the CD-ROM, and start the system backup, or you could simply turn on power to the CD-ROM and issue the following command at the command prompt:
devfsadm
When used without any options, devfsadm will attempt to load every driver in the system and attach each driver to its respective device instances. You can restrict devfsadm to only look at specific devices using the -c option as follows:
devfsadm -c disk -c tape
This restricts the devfsadm command to devices of class disk and tape. As shown, the -c option can be used more than once to specify more than one device class.
Now, if you issue the sysdef command, you'll see the following output for the CD-ROM:
sd, instance #6
You can also use the devfsadm command to configure only the devices for a specific driver such as "st" by using the -i option as follows:
devfsadm -i st
The devfsadm command will only configure the devices for the driver named "st."
本文介绍了在Solaris系统中如何使用devfsadm命令来重新加载忘记开启的外围设备,如CD-ROM。通过不同的选项,可以针对特定类型的设备进行操作。
6077

被折叠的 条评论
为什么被折叠?



