2 .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
3 .\" 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.
4 .\" 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.
5 .\" 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]
6 .TH REMOVE_ALLOCATABLE 1M "Jul 20, 2007"
8 remove_allocatable \- remove entries from allocation databases
12 \fB/usr/sbin/remove_allocatable\fR [\fB-f\fR] \fB-n\fR \fIname\fR
17 \fB/usr/sbin/remove_allocatable\fR [\fB-f\fR] [\fB-d\fR] \fB-t\fR \fIdev-type\fR
23 \fBremove_allocatable\fR removes entries of user allocatable devices from the
24 device allocation mechanism. \fBremove_allocatable\fR also removes entries of
25 some non-allocatable devices, such as printers, whose label range is managed by
30 The following options are supported:
37 Removes system-supplied default attributes of the device type that is
38 specified with \fB-t\fR.
47 Force the removal of an entry. \fBremove_allocatable\fR exits with an error if
48 this option is not specified when an entry with the specified device name no
55 \fB\fB-n\fR \fIname\fR\fR
58 Removes the entry for the device \fIname\fR.
64 \fB\fB-t\fR \fIdev-type\fR\fR
67 Removes devices of type \fIdev-type\fR.
73 When successful, \fBremove_allocatable\fR returns an exit status of \fB0\fR
74 (true). \fBremove_allocatable\fR returns a nonzero exit status in the event of
75 an error. The exit codes are as follows:
82 Invocation syntax error
100 Device \fIname\fR or \fIdev-type\fR not found. This error occurs only when the
101 \fB-f\fR option is not specified.
110 Permission denied. User does not have DAC or MAC access to database.
116 See \fBattributes\fR(5) for descriptions of the following attributes:
124 ATTRIBUTE TYPE ATTRIBUTE VALUE
126 Interface Stability See below.
131 The invocation is Uncommitted. The options are Uncommitted. The output is
136 \fBallocate\fR(1), \fBdeallocate\fR(1), \fBadd_allocatable\fR(1M),
137 \fBattributes\fR(5), \fBdevice_clean\fR(5)
141 The functionality described on this manual page is available only if the system
142 is configured with Trusted Extensions.