2 .\" Copyright (c) 2006, 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 RMMOUNT 1 "Sep 18, 2006"
8 rmmount, rmumount \- mounts and unmounts removable media
12 \fBrmmount\fR [\fB-u\fR] [\fB-o\fR \fIoptions\fR] [\fInickname\fR | \fIdevice\fR] [\fImount_point\fR]
17 \fBrmmount\fR [\fB-d\fR] [\fB-l\fR]
22 \fBrmumount\fR [\fInickname\fR | \fImount_point\fR | \fIdevice\fR]
27 \fBrmumount\fR [\fB-d\fR] [\fB-l\fR]
33 The \fBrmmount\fR and \fBrmumount\fR utilities mount and unmount removable or
34 hot-pluggable volumes. The optional argument can identify the volume by its
35 volume label, mount point or block device path.
38 \fBrmmount\fR can also take additional mount options if the user has sufficient
39 privileges to override the default mount options.
42 Unmounting removable media does not result in its ejection. Use \fBeject\fR(1)
43 to optionally unmount and eject the media.
47 The following options are supported for \fBrmmount\fR and \fBrmumount\fR:
54 Display the device path of the default device. This device is used if no
55 arguments are supplied.
64 Display the paths and nicknames of mountable devices.
69 The following options are supported for \fBrmmount\fR only:
73 \fB\fB-o\fR \fIoptions\fR\fR
76 Display mount options. This option can only be used by users that have
77 privileges to override the system default options.
86 Unmounts the volume as opposed to mounting it.
92 The following operands are supported:
99 Specifies which device to mount or unmount, by the name it appears in the
100 directory \fB/dev\fR.
106 \fB\fImount_point\fR\fR
109 Specifies which device to mount or unmount, by the name it appears in the
110 directory \fB/dev\fR.
119 Specifies which device to mount or unmount, by its nickname as known to this
125 \fBExample 1 \fRMounting a USB disk
128 The following example mounts a USB disk with a volume label of \fBPHOTOS\fR:
133 example% rmmount PHOTOS
139 \fBExample 2 \fRUnmounting a \fBpcfs\fR Volume
142 The following example unmounts a \fBpcfs\fR volume by device path:
147 example% rmumount /dev/dsk/c4t0d0p0:1
155 The following exit values are returned:
162 Successful completion.
187 See \fBattributes\fR(5) for descriptions of the following attributes:
195 ATTRIBUTE TYPE ATTRIBUTE VALUE
197 Interface Stability Uncommitted
203 \fBeject\fR(1), \fBattributes\fR(5)