1volrmmount(1)                    User Commands                   volrmmount(1)
2
3
4

NAME

6       volrmmount - call rmmount to mount or unmount media
7

SYNOPSIS

9       volrmmount [-i | -e] [name | nickname]
10
11
12       volrmmount [-d]
13
14

DESCRIPTION

16       The  volrmmount  utility  calls  rmmount(1M) to, in effect, simulate an
17       insertion (-i) or an ejection (-e). Simulating an insertion often means
18       that  rmmount  will mount the media. Conversely, simulating an ejection
19       often means that rmmount will unmount the media. However, these actions
20       can vary depending on the rmmount configuration and media type.
21
22
23       For example, using default settings, if you insert a music CD, it might
24       not be mounted. However, you can configure rmmount  so  that  it  calls
25       workman whenever a music CD is inserted.
26
27
28       This  command allows you to override volume management's usual handling
29       of media (see EXAMPLES below).
30

OPTIONS

32       The following options are supported:
33
34       -i    Simulates an insertion of the specified media by calling rmmount.
35
36
37       -e    Simulates an ejection of the specified media by calling rmmount.
38
39
40       -d    Displays the name of the default device for volrmmount to handle.
41             This device is used if no name or nickname is supplied.
42
43

OPERANDS

45       The following operands are supported:
46
47       name        The  name that volume management recognizes as the device's
48                   name.
49
50
51       nickname    A shortened version of the device's name. Following is  the
52                   list of recognized nicknames:
53
54
55
56
57
58       ┌─────────────────────────────┬─────────────────────────────┐
59       │         Nickname            │            Path             │
60       ├─────────────────────────────┼─────────────────────────────┤
61       │fd                           │/dev/rdiskette               │
62       ├─────────────────────────────┼─────────────────────────────┤
63       │fd0                          │/dev/rdiskette               │
64       ├─────────────────────────────┼─────────────────────────────┤
65       │fd1                          │/dev/rdiskette1              │
66       ├─────────────────────────────┼─────────────────────────────┤
67       │diskette                     │/dev/rdiskette               │
68       ├─────────────────────────────┼─────────────────────────────┤
69       │diskette0                    │/dev/rdiskette0              │
70       ├─────────────────────────────┼─────────────────────────────┤
71       │diskette1                    │/dev/rdiskette1              │
72       ├─────────────────────────────┼─────────────────────────────┤
73       │rdiskette                    │/dev/rdiskette               │
74       ├─────────────────────────────┼─────────────────────────────┤
75       │rdiskette0                   │/dev/rdiskette0              │
76       ├─────────────────────────────┼─────────────────────────────┤
77       │rdiskette1                   │/dev/rdiskette1              │
78       ├─────────────────────────────┼─────────────────────────────┤
79       │floppy                       │/dev/rdiskette               │
80       ├─────────────────────────────┼─────────────────────────────┤
81       │floppy0                      │/dev/rdiskette0              │
82       ├─────────────────────────────┼─────────────────────────────┤
83       │floppy1                      │/dev/rdiskette1              │
84       ├─────────────────────────────┼─────────────────────────────┤
85       │cdrom0                       │/dev/rdsk/cXtYdZ/label
86       ├─────────────────────────────┼─────────────────────────────┤
87       │zip0                         │/dev/rdsk/cXtYdZ/label
88       ├─────────────────────────────┼─────────────────────────────┤
89       │jaz0                         │/dev/rdsk/cXtYdZ/label
90       ├─────────────────────────────┼─────────────────────────────┤
91       │rmdisk0                      │/dev/rdsk/cXtYdZ/label
92       └─────────────────────────────┴─────────────────────────────┘
93

EXAMPLES

95       Example 1 Using the volrmmount command
96
97
98       When  volume  management  finds a floppy that contains a filesystem, it
99       calls rmmount to mount it. If you wish to run tar(1) or cpio(1) on that
100       floppy, it must first be unmounted. To unmount the floppy use:
101
102
103         example% volrmmount −e floppy0
104
105
106
107
108       After  volrmmount  unmounts  the  floppy,  if  you  wish to re-mount it
109       (rather than ejecting it and reinserting it) use:
110
111
112         example% volrmmount −i floppy0
113
114
115
116
117       Notice that if you are using a named floppy, you can use  its  name  in
118       place of floppy0.
119
120

FILES

122       /dev/volctl    volume management control port
123
124

ATTRIBUTES

126       See attributes(5) for descriptions of the following attributes:
127
128
129
130
131       ┌─────────────────────────────┬─────────────────────────────┐
132       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
133       ├─────────────────────────────┼─────────────────────────────┤
134       │Availability                 │SUNWvolu                     │
135       └─────────────────────────────┴─────────────────────────────┘
136

SEE ALSO

138       cpio(1), eject(1), tar(1), rmmount(1M), attributes(5)
139
140
141
142SunOS 5.11                        28 Feb 2007                    volrmmount(1)
Impressum