Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rmmount(1) [opensolaris man page]

rmmount(1)							   User Commands							rmmount(1)

NAME
rmmount, rmumount - mounts and unmounts removable media SYNOPSIS
rmmount [-u] [-o options] [nickname | device] [mount_point] rmmount [-d] [-l] rmumount [nickname | mount_point | device] rmumount [-d] [-l] DESCRIPTION
The rmmount and rmumount utilities mount and unmount removable or hot-pluggable volumes. The optional argument can identify the volume by its volume label, mount point or block device path. rmmount can also take additional mount options if the user has sufficient privileges to override the default mount options. Unmounting removable media does not result in its ejection. Use eject(1) to optionally unmount and eject the media. OPTIONS
The following options are supported for rmmount and rmumount: -d Display the device path of the default device. This device is used if no arguments are supplied. -l Display the paths and nicknames of mountable devices. The following options are supported for rmmount only: -o options Display mount options. This option can only be used by users that have privileges to override the system default options. -u Unmounts the volume as opposed to mounting it. OPERANDS
The following operands are supported: device Specifies which device to mount or unmount, by the name it appears in the directory /dev. mount_point Specifies which device to mount or unmount, by the name it appears in the directory /dev. nickname Specifies which device to mount or unmount, by its nickname as known to this command. EXAMPLES
Example 1 Mounting a USB disk The following example mounts a USB disk with a volume label of PHOTOS: example% rmmount PHOTOS Example 2 Unmounting a pcfs Volume The following example unmounts a pcfs volume by device path: example% rmumount /dev/dsk/c4t0d0p0:1 EXIT STATUS
The following exit values are returned: 0 Successful completion. >0 An error occurred. FILES
/media Default mount root. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWrmvolmgr | +-----------------------------+-----------------------------+ |Interface Stability |Uncommitted | +-----------------------------+-----------------------------+ SEE ALSO
eject(1), attributes(5) SunOS 5.11 18 Sep 2006 rmmount(1)

Check Out this Related Man Page

volrmmount(1)							   User Commands						     volrmmount(1)

NAME
volrmmount - call rmmount to mount or unmount media SYNOPSIS
volrmmount [-i | -e] [name | nickname] volrmmount [-d] DESCRIPTION
The volrmmount utility calls rmmount(1M) to, in effect, simulate an insertion (-i) or an ejection (-e). Simulating an insertion often means that rmmount will mount the media. Conversely, simulating an ejection often means that rmmount will unmount the media. However, these actions can vary depending on the rmmount configuration and media type (see rmmount.conf(4)). For example, if you use the default /etc/rmmount.conf and insert a music CD, it will not be mounted. However, you can configure rmmount so that it calls workman whenever a music CD is inserted. This command allows you to override Volume Management's usual handling of media (see EXAMPLES below). OPTIONS
The following options are supported: -i Simulates an insertion of the specified media by calling rmmount. -e Simulates an ejection of the specified media by calling rmmount. -d Displays the name of the default device for volrmmount to handle. This device is used if no name or nickname is supplied. OPERANDS
The following operands are supported: name The name that Volume Management recognizes as the device's name. See volfs(7FS). nickname A shortened version of the device's name. Following is the list of recognized nicknames: +-----------------------------+-----------------------------+ | Nickname | Path | +-----------------------------+-----------------------------+ |fd |/dev/rdiskette | +-----------------------------+-----------------------------+ |fd0 |/dev/rdiskette | +-----------------------------+-----------------------------+ |fd1 |/dev/rdiskette1 | +-----------------------------+-----------------------------+ |diskette |/dev/rdiskette | +-----------------------------+-----------------------------+ |diskette0 |/dev/rdiskette0 | +-----------------------------+-----------------------------+ |diskette1 |/dev/rdiskette1 | +-----------------------------+-----------------------------+ |rdiskette |/dev/rdiskette | +-----------------------------+-----------------------------+ |rdiskette0 |/dev/rdiskette0 | +-----------------------------+-----------------------------+ |rdiskette1 |/dev/rdiskette1 | +-----------------------------+-----------------------------+ |floppy |/dev/rdiskette | +-----------------------------+-----------------------------+ |floppy0 |/dev/rdiskette0 | +-----------------------------+-----------------------------+ |floppy1 |/dev/rdiskette1 | +-----------------------------+-----------------------------+ |cdrom0 |/vol/dev/rdsk/cXtYdZ/label | +-----------------------------+-----------------------------+ |zip0 |/vol/dev/rdsk/cXtYdZ/label | +-----------------------------+-----------------------------+ |jaz0 |/vol/dev/rdsk/cXtYdZ/label | +-----------------------------+-----------------------------+ |rmdisk0 |/vol/dev/rdsk/cXtYdZ/label | +-----------------------------+-----------------------------+ EXAMPLES
Example 1: Using the volrmmount command When Volume Management finds a floppy that contains a filesystem, it calls rmmount to mount it. If you wish to run tar(1) or cpio(1) on that floppy, it must first be unmounted. To unmount the floppy use: example% volrmmount -e floppy0 After volrmmount unmounts the floppy, if you wish to re-mount it (rather than ejecting it and reinserting it) use: example% volrmmount -i floppy0 Notice that if you are using a named floppy, you can use its name in place of floppy0. FILES
/dev/volctl Volume Management control port ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWvolu | +-----------------------------+-----------------------------+ SEE ALSO
cpio(1), eject(1), tar(1), rmmount(1M), vold(1M), rmmount.conf(4), attributes(5), volfs(7FS) NOTES
Volume Management (vold) must be running to use this command. SunOS 5.10 30 Aug 2000 volrmmount(1)
Man Page