admdevice(1M) DG/UX 5.4R3.00 admdevice(1M)
NAME
admdevice - administer devices
SYNOPIS
admdevice -o configure device ...
admdevice -o deconfigure device ...
admdevice -o specify [ -s ] device ...
DESCRIPTION
The admdevice command provides a few management operations whose
nature is independent of the type of device being managed. The
devices should be specified using the DG/UX Common Device
Specification format, as described in an appendix of Customizing the
DG/UX System.
Operations
configure Configure the device into the kernel. Only the superuser
can configure a device.
deconfigure
Deconfigure the device. The device must not be held open
by either an application program or another component of
the kernel. For example, physical disks cannot be
deconfigured while they are registered. When a device is
deconfigured, as far as the kernel is concerned, it doesn't
exist. Only the superuser can deconfigure a device.
specify Display the canonical device specification string for the
device, in either long (default) or short format. The
device being specified must be configured.
Options
The specify operation may be accompanied by the following option:
-s Short. The standard abbreviation for the device
specification for the device is displayed. This may
actually be longer than the device specification given on
the command line, in order to provide a consistent
appearance for similar devices. If the abbreviation table
does not include an entry for the device, then the full
(long) specification is displayed.
EXAMPLES
# admdevice -o specify 'sd(ncsc(),0)'
sd(ncsc@7(FFFB0000,7),0,0)
# admdevice -o specify -s 'sd(ncsc(),0)'
sd(ncsc(0,7),0,0)
DIAGNOSTICS
Exit Codes
0 The operation was successful.
Licensed material--property of copyright holder(s) 1
admdevice(1M) DG/UX 5.4R3.00 admdevice(1M)
1 The operation was unsuccessful.
2 The operation failed due to access restrictions.
3 There was an error in the command line.
4 Device given for specify operation is not configured.
SEE ALSO
admdumpdevice(1M).
NOTES
The AV/Alert server program (dgsvcd) sometimes holds open physical
devices in order to monitor their status. This can make it
impossible to deconfigure the device. If this is the case, the
commands
/usr/sbin/init.d/rc.dgserv stop
and
/usr/sbin/init.d/rc.dgserv start
can be used before and after the admdevice command to disable and
enable the AV/Alert software.
Licensed material--property of copyright holder(s) 2