devswmgr man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

devswmgr(8)							   devswmgr(8)

       devswmgr - utility to manage the device switch database

       /sbin/devswmgr [-option [parameter]]

       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  Dis‐
	      plays  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 specified.

       The devswmgr command helps you manage the device switch table  by  dis‐
       playing 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.

       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*

       The file that manages the device switch databases  The  primary	device
       switch database file The backup device switch database file

       Commands: hwmgr(8)


List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net