Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

devfree(1m) [opensolaris man page]

devfree(1M)						  System Administration Commands					       devfree(1M)

NAME
devfree - release devices from exclusive use SYNOPSIS
devfree key [device]... DESCRIPTION
devfree releases devices from exclusive use. Exclusive use is requested with the command devreserv. When devfree is invoked with only the key argument, it releases all devices that have been reserved for that key. When called with key and device arguments, devfree releases the specified devices that have been reserved with that key. OPERANDS
The following operands are supported: device Defines device that this command will release from exclusive use. device can be the pathname of the device or the device alias. key Designates the unique key on which the device was reserved. EXIT STATUS
The following exit values are returned: 0 Successful completion. 1 Command syntax was incorrect, an invalid option was used, or an internal error occurred. 2 Device table or device reservation table could not be opened for reading. 3 Reservation release could not be completely fulfilled because one or more of the devices was not reserved or was not reserved on the specified key. FILES
/etc/device.tab /etc/devlkfile ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
devreserv(1M), attributes(5) NOTES
The commands devreserv and devfree are used to manage the availability of devices on a system. These commands do not place any con- straints on the access to the device. They serve only as a centralized bookkeeping point for those who wish to use them. Processes that do not use devreserv may concurrently use a device with a process that has reserved that device. SunOS 5.11 5 Jul 1990 devfree(1M)

Check Out this Related Man Page

devattr(1M)						  System Administration Commands					       devattr(1M)

NAME
devattr - display device attributes SYNOPSIS
devattr [-v] device [attribute...] DESCRIPTION
devattr displays the values for a device's attributes. The display can be presented in two formats. Used without the -v option, only the attribute values are shown. Used with the -v option, the attributes are shown in an attribute=value format. When no attributes are given on the command line, all attributes for the specified device are displayed in alphabetical order by attribute name. If attributes are given on the command line, only those attributes are shown, displayed in command line order. OPTIONS
The following options are supported: -v Specifies verbose format. Attribute values are displayed in an attribute=value format. OPERANDS
The following operands are supported: attribute Defines which attribute, or attributes, should be shown. Default is to show all attributes for a device. See the putdev(1M) manual page for a complete listing and description of available attributes. device Defines the device whose attributes should be displayed. Can be the pathname of the device or the device alias. EXIT STATUS
The following exit values are returned: 0 successful completion. 1 Command syntax was incorrect, invalid option was used, or an internal error occurred. 2 Device table could not be opened for reading. 3 Requested device could not be found in the device table. 4 Requested attribute was not defined for the specified device. FILES
/etc/device.tab ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
getdev(1M), putdev(1M), attributes(5) SunOS 5.10 5 Jul 1990 devattr(1M)
Man Page