1rmmount(1) User Commands rmmount(1)
2
3
4
6 rmmount, rmumount - mounts and unmounts removable media
7
9 rmmount [-u] [-o options] [nickname | device] [mount_point]
10
11
12 rmmount [-d] [-l]
13
14
15 rmumount [nickname | mount_point | device]
16
17
18 rmumount [-d] [-l]
19
20
22 The rmmount and rmumount utilities mount and unmount removable or hot-
23 pluggable volumes. The optional argument can identify the volume by its
24 volume label, mount point or block device path.
25
26
27 rmmount can also take additional mount options if the user has suffi‐
28 cient privileges to override the default mount options.
29
30
31 Unmounting removable media does not result in its ejection. Use
32 eject(1) to optionally unmount and eject the media.
33
35 The following options are supported for rmmount and rmumount:
36
37 -d Display the device path of the default device. This device is
38 used if no arguments are supplied.
39
40
41 -l Display the paths and nicknames of mountable devices.
42
43
44
45 The following options are supported for rmmount only:
46
47 -o options Display mount options. This option can only be used by
48 users that have privileges to override the system default
49 options.
50
51
52 -u Unmounts the volume as opposed to mounting it.
53
54
56 The following operands are supported:
57
58 device Specifies which device to mount or unmount, by the name
59 it appears in the directory /dev.
60
61
62 mount_point Specifies which device to mount or unmount, by the name
63 it appears in the directory /dev.
64
65
66 nickname Specifies which device to mount or unmount, by its nick‐
67 name as known to this command.
68
69
71 Example 1 Mounting a USB disk
72
73
74 The following example mounts a USB disk with a volume label of PHOTOS:
75
76
77 example% rmmount PHOTOS
78
79
80
81 Example 2 Unmounting a pcfs Volume
82
83
84 The following example unmounts a pcfs volume by device path:
85
86
87 example% rmumount /dev/dsk/c4t0d0p0:1
88
89
90
92 The following exit values are returned:
93
94 0 Successful completion.
95
96
97 >0 An error occurred.
98
99
101 /media Default mount root.
102
103
105 See attributes(5) for descriptions of the following attributes:
106
107
108
109
110 ┌─────────────────────────────┬─────────────────────────────┐
111 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
112 ├─────────────────────────────┼─────────────────────────────┤
113 │Availability │SUNWrmvolmgr │
114 ├─────────────────────────────┼─────────────────────────────┤
115 │Interface Stability │Uncommitted │
116 └─────────────────────────────┴─────────────────────────────┘
117
119 eject(1), attributes(5)
120
121
122
123SunOS 5.11 18 Sep 2006 rmmount(1)