summaryrefslogtreecommitdiff
path: root/usr/src/man/man1m/devfree.1m
diff options
context:
space:
mode:
authorRichard Lowe <richlowe@richlowe.net>2011-03-14 14:05:30 -0400
committerRichard Lowe <richlowe@richlowe.net>2011-03-14 14:05:30 -0400
commitc10c16dec587a0662068f6e2991c29ed3a9db943 (patch)
treef414286f4bba41d75683ed4fbbaa6bfa4bf7fabd /usr/src/man/man1m/devfree.1m
parent68caef18a23a498d9e3017b983562c0f4fd8ab23 (diff)
downloadillumos-joyent-c10c16dec587a0662068f6e2991c29ed3a9db943.tar.gz
243 system manual pages should live with the software
Reviewed by: garrett@nexenta.com Reviewed by: gwr@nexenta.com Reviewed by: trisk@opensolaris.org Approved by: gwr@nexenta.com --HG-- extra : rebase_source : 0c599d0bec0dc8865fbba67721a7a6cd6b1feefb
Diffstat (limited to 'usr/src/man/man1m/devfree.1m')
-rw-r--r--usr/src/man/man1m/devfree.1m138
1 files changed, 138 insertions, 0 deletions
diff --git a/usr/src/man/man1m/devfree.1m b/usr/src/man/man1m/devfree.1m
new file mode 100644
index 0000000000..f474ca359e
--- /dev/null
+++ b/usr/src/man/man1m/devfree.1m
@@ -0,0 +1,138 @@
+'\" te
+.\" Copyright 1989 AT&T Copyright (c) 1997 Sun Microsystems, Inc. All Rights Reserved.
+.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
+.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
+.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
+.TH devfree 1M "5 Jul 1990" "SunOS 5.11" "System Administration Commands"
+.SH NAME
+devfree \- release devices from exclusive use
+.SH SYNOPSIS
+.LP
+.nf
+\fBdevfree\fR \fIkey\fR [\fIdevice\fR]...
+.fi
+
+.SH DESCRIPTION
+.sp
+.LP
+\fBdevfree\fR releases devices from exclusive use. Exclusive use is requested
+with the command \fBdevreserv\fR.
+.sp
+.LP
+When \fBdevfree\fR is invoked with only the \fIkey\fR argument, it releases
+all devices that have been reserved for that \fIkey\fR. When called with
+\fIkey\fR and \fIdevice\fR arguments, \fBdevfree\fR releases the specified
+devices that have been reserved with that \fIkey\fR.
+.SH OPERANDS
+.sp
+.LP
+The following operands are supported:
+.sp
+.ne 2
+.mk
+.na
+\fB\fIdevice\fR\fR
+.ad
+.RS 10n
+.rt
+Defines device that this command will release from exclusive use. \fIdevice\fR
+can be the pathname of the device or the device alias.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fIkey\fR\fR
+.ad
+.RS 10n
+.rt
+Designates the unique key on which the device was reserved.
+.RE
+
+.SH EXIT STATUS
+.sp
+.LP
+The following exit values are returned:
+.sp
+.ne 2
+.mk
+.na
+\fB\fB0\fR\fR
+.ad
+.RS 5n
+.rt
+Successful completion.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB1\fR\fR
+.ad
+.RS 5n
+.rt
+Command syntax was incorrect, an invalid option was used, or an internal error
+occurred.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB2\fR\fR
+.ad
+.RS 5n
+.rt
+Device table or device reservation table could not be opened for reading.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB3\fR\fR
+.ad
+.RS 5n
+.rt
+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.
+.RE
+
+.SH FILES
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/device.tab\fR\fR
+.ad
+.RS 19n
+.rt
+
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB/etc/devlkfile\fR\fR
+.ad
+.RS 19n
+.rt
+
+.RE
+
+.SH SEE ALSO
+.sp
+.LP
+\fBdevreserv\fR(1M), \fBattributes\fR(5)
+.SH NOTES
+.sp
+.LP
+The commands \fBdevreserv\fR and \fBdevfree\fR are used to manage the
+availability of devices on a system. These commands do not place any
+constraints 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
+\fBdevreserv\fR may concurrently use a device with a process that has reserved
+that device.