Unleashed v1.4
[unleashed.git] / share / man / man1 / volrmmount.1
blobd64b4a88e7d58ba23b0d667b84a8ffb9fb01c2d1
1 '\" te
2 .\"  Copyright (c) 2000, 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 VOLRMMOUNT 1 "Feb 28, 2007"
7 .SH NAME
8 volrmmount \- call rmmount to mount or unmount media
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fBvolrmmount\fR [\fB-i\fR | \fB-e\fR] [\fIname\fR | \fInickname\fR]
13 .fi
15 .LP
16 .nf
17 \fBvolrmmount\fR [\fB-d\fR]
18 .fi
20 .SH DESCRIPTION
21 .sp
22 .LP
23 The \fBvolrmmount\fR utility calls \fBrmmount\fR(8) to, in effect, simulate an
24 insertion (\fB-i\fR) or an ejection (\fB-e\fR). Simulating an insertion often
25 means that \fBrmmount\fR will mount the media. Conversely, simulating an
26 ejection often means that \fBrmmount\fR will unmount the media. However, these
27 actions can vary depending on the \fBrmmount\fR configuration and media type.
28 .sp
29 .LP
30 For example, using default settings, if you insert a music CD, it might not be
31 mounted. However, you can configure \fBrmmount\fR so that it calls
32 \fBworkman\fR whenever a music CD is inserted.
33 .sp
34 .LP
35 This command allows you to override volume management's usual handling of media
36 (see EXAMPLES below).
37 .SH OPTIONS
38 .sp
39 .LP
40 The following options are supported:
41 .sp
42 .ne 2
43 .na
44 \fB\fB-i\fR\fR
45 .ad
46 .RS 6n
47 Simulates an insertion of the specified media by calling \fBrmmount\fR.
48 .RE
50 .sp
51 .ne 2
52 .na
53 \fB\fB-e\fR\fR
54 .ad
55 .RS 6n
56 Simulates an ejection of the specified media by calling \fBrmmount\fR.
57 .RE
59 .sp
60 .ne 2
61 .na
62 \fB\fB-d\fR\fR
63 .ad
64 .RS 6n
65 Displays the name of the default device for \fBvolrmmount\fR to handle. This
66 device is used if no \fIname\fR or \fInickname\fR is supplied.
67 .RE
69 .SH OPERANDS
70 .sp
71 .LP
72 The following operands are supported:
73 .sp
74 .ne 2
75 .na
76 \fB\fIname\fR\fR
77 .ad
78 .RS 12n
79 The name that volume management recognizes as the device's name.
80 .RE
82 .sp
83 .ne 2
84 .na
85 \fB\fInickname\fR\fR
86 .ad
87 .RS 12n
88 A shortened version of the device's name. Following is the list of recognized
89 nicknames:
90 .RE
92 .sp
94 .sp
95 .TS
96 box;
97 c | c
98 l | l .
99 Nickname        Path
101 fd      /dev/rdiskette
103 fd0     /dev/rdiskette
105 fd1     /dev/rdiskette1
107 diskette        /dev/rdiskette
109 diskette0       /dev/rdiskette0
111 diskette1       /dev/rdiskette1
113 rdiskette       /dev/rdiskette
115 rdiskette0      /dev/rdiskette0
117 rdiskette1      /dev/rdiskette1
119 floppy  /dev/rdiskette
121 floppy0 /dev/rdiskette0
123 floppy1 /dev/rdiskette1
125 cdrom0  /dev/rdsk/cXtYdZ/\fIlabel\fR
127 zip0    /dev/rdsk/cXtYdZ/\fIlabel\fR
129 jaz0    /dev/rdsk/cXtYdZ/\fIlabel\fR
131 rmdisk0 /dev/rdsk/cXtYdZ/\fIlabel\fR
134 .SH EXAMPLES
136 \fBExample 1 \fRUsing the volrmmount command
139 When volume management finds a floppy that contains a filesystem, it calls
140 \fBrmmount\fR to mount it. If you wish to run \fBtar\fR(1) or \fBcpio\fR(1) on
141 that floppy, it must first be unmounted. To unmount the floppy use:
144 .in +2
146 example% \fBvolrmmount \(mie floppy0\fR
148 .in -2
153 After \fBvolrmmount\fR unmounts the floppy, if you wish to re-mount it (rather
154 than ejecting it and reinserting it) use:
157 .in +2
159 example% \fBvolrmmount \(mii floppy0\fR
161 .in -2
166 Notice that if you are using a named floppy, you can use its name in place of
167 \fBfloppy0\fR.
169 .SH FILES
171 .ne 2
173 \fB\fB/dev/volctl\fR\fR
175 .RS 15n
176 volume management control port
179 .SH SEE ALSO
182 \fBcpio\fR(1), \fBeject\fR(1), \fBtar\fR(1), \fBrmmount\fR(8),
183 \fBattributes\fR(5)