1devfree(1M) System Administration Commands devfree(1M)
2
3
4
6 devfree - release devices from exclusive use
7
9 devfree key [device]...
10
11
13 devfree releases devices from exclusive use. Exclusive use is requested
14 with the command devreserv.
15
16
17 When devfree is invoked with only the key argument, it releases all
18 devices that have been reserved for that key. When called with key
19 and device arguments, devfree releases the specified devices that
20 have been reserved with that key.
21
23 The following operands are supported:
24
25 device Defines device that this command will release from exclusive
26 use. device can be the pathname of the device or the device
27 alias.
28
29
30 key Designates the unique key on which the device was reserved.
31
32
34 The following exit values are returned:
35
36 0 Successful completion.
37
38
39 1 Command syntax was incorrect, an invalid option was used, or an
40 internal error occurred.
41
42
43 2 Device table or device reservation table could not be opened for
44 reading.
45
46
47 3 Reservation release could not be completely fulfilled because one
48 or more of the devices was not reserved or was not reserved on the
49 specified key.
50
51
53 /etc/device.tab
54
55
56 /etc/devlkfile
57
58
60 See attributes(5) for descriptions of the following attributes:
61
62
63
64
65 ┌─────────────────────────────┬─────────────────────────────┐
66 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
67 ├─────────────────────────────┼─────────────────────────────┤
68 │Availability │SUNWcsu │
69 └─────────────────────────────┴─────────────────────────────┘
70
72 devreserv(1M), attributes(5)
73
75 The commands devreserv and devfree are used to manage the availability
76 of devices on a system. These commands do not place any constraints on
77 the access to the device. They serve only as a centralized bookkeeping
78 point for those who wish to use them. Processes that do not use devre‐
79 serv may concurrently use a device with a process that has reserved
80 that device.
81
82
83
84SunOS 5.11 5 Jul 1990 devfree(1M)