3.16) What happened to /dev/MAKEDEV? How do I add devices?

Device drivers are linked in dynamically. When you add new devices, just shutdown the system and do

	    boot -r # use drive spec if not default disk
to rebuild the /devices and /dev directories.

If you're just adding a SCSI disk, you don't need to reboot. Run the following script (as root):

#!/bin/sh
#
# add-disk
#
#       Runs the commands to make Solaris locate a new disk that
#       has been plugged in after the system was booted.
#

/usr/sbin/drvconfig /usr/sbin/devlinks /usr/sbin/disks # or /usr/sbin/tapes for tapes /usr/ucb/ucblinks # Compatibility links

exit 0

Note that this only works if you already have at least one SCSI disk on the system. (This is because the above just makes symbolic links and things, it does not load up the SCSI driver kernel modules, etc.)

PREV INDEX NEXT