Unix and Linux Discussions Tagged with switch |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
6 |
17,647 |
AIX |
|
|
|
3 |
6,905 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
2,252 |
UNIX for Beginners Questions & Answers |
|
|
|
0 |
4,910 |
OS X (Apple) |
|
|
|
4 |
11,368 |
Red Hat |
|
|
|
6 |
2,149 |
Programming |
|
|
|
3 |
1,905 |
Shell Programming and Scripting |
|
|
|
2 |
3,253 |
Programming |
|
|
|
1 |
3,457 |
AIX |
|
|
|
3 |
19,278 |
Shell Programming and Scripting |
|
|
|
2 |
14,166 |
Shell Programming and Scripting |
|
|
|
1 |
1,936 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
14,688 |
Shell Programming and Scripting |
|
|
|
2 |
12,622 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
6,794 |
AIX |
|
|
|
4 |
4,632 |
Shell Programming and Scripting |
|
|
|
2 |
33,340 |
Shell Programming and Scripting |
|
|
|
2 |
17,905 |
Solaris |
|
|
|
38 |
47,366 |
Shell Programming and Scripting |
|
|
|
1 |
3,026 |
Programming |
|
|
|
0 |
1,314 |
OS X Support RSS |
|
|
|
0 |
2,253 |
OS X Support RSS |
|
|
|
4 |
31,741 |
Shell Programming and Scripting |
|
|
|
0 |
2,598 |
UNIX and Linux RSS News |
|
|
|
4 |
1,729 |
Shell Programming and Scripting |
|
|
|
0 |
3,415 |
HP Server News and Podcasts RSS |
|
|
|
0 |
2,353 |
Cartoons for Geeks |
|
|
|
2 |
6,617 |
Programming |
|
|
|
2 |
4,021 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
1,340 |
UNIX and Linux RSS News |
|
|
|
0 |
1,315 |
Software Releases - RSS News |
|
|
|
0 |
1,500 |
Software Releases - RSS News |
|
|
|
0 |
1,759 |
Software Releases - RSS News |
|
|
|
0 |
1,386 |
Software Releases - RSS News |
|
|
|
1 |
2,393 |
UNIX for Advanced & Expert Users |
|
|
|
5 |
6,333 |
Shell Programming and Scripting |
|
|
|
9 |
4,886 |
IP Networking |
|
|
|
1 |
9,606 |
IP Networking |
|
|
|
3 |
16,151 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
6,762 |
UNIX for Dummies Questions & Answers |
devswmgr(8) System Manager's Manual devswmgr(8)
NAME
devswmgr - utility to manage the device switch database
SYNOPSIS
/sbin/devswmgr [-option [parameter]]
OPTIONS
Displays the following information about the device switch database:
Whether a device switch database was read from the primary file or from a backup file
The number of entries that are in the device switch table Displays the major numbers that have been reserved by all drivers, a named
driver, or an instance of a named driver.
A driver that requires more than one entry in the device switch table uses a unique instance number to reference each of its device
switch table entries. Displays help for the devswmgr command. Releases all the major numbers for a device driver if just the
driver name is specified. Releases one major number for a device driver if the NAME and the INSTANCENUM of the driver are speci-
fied.
DESCRIPTION
The devswmgr command helps you manage the device switch table by displaying information about the devices drivers in the table.
You can also use the command to release device switch table entries. Typically, you release the entries for a driver after you have
unloaded the driver and do not plan to reload it later. Releasing the entries frees them for use by other device drivers.
EXAMPLES
The following example shows that a device switch table was loaded from the primary device and that there are 70 entries in it: %
/sbin/devswmgr -display Device switch information
device switch database read from primary file
device switch table has 70 entries The following example shows the major numbers in the device switch table that have been reserved for
the driver named cam_disk: % /sbin/devswmgr -getnum driver=cam_disk
Device switch reservation list
(*=entry in use)
driver name instance major
------------------------------- -------- -----
cam_disk 1 8*
FILES
The file that manages the device switch databases The primary device switch database file The backup device switch database file
SEE ALSO
Commands: scsimgr(8)
devswmgr(8)