volrmmount
User Commands volrmmount(1)NAME
volrmmount - call rmmount to mount or unmount mediaSYNOPSIS
volrmmount [ -i | -e ] [ name | nickname ] volrmmount [ -d ]DESCRIPTION
volrmmount 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 won't 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
-i Simulate an insertion of the specified media by cal- ling rmmount. -e Simulate an ejection of the specified media by calling rmmount. -d Display the name of the default device for volrmmount to handle. This device is used if no name or nick- name is supplied.OPERANDS
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: SunOS 5.8 Last change: 4 Mar 1996 1 User Commands volrmmount(1) ____________________________________________________________ | 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 | |_____________________________|_____________________________| EXAMPLES Example 1: A sample case of 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 Note that if you are using a named floppy you can use its name in place of floppy0.FILES
/dev/volctl Volume Management control port SunOS 5.8 Last change: 4 Mar 1996 2 User Commands volrmmount(1)ATTRIBUTES
See attributes(5) for descriptions of the following attri- butes: ____________________________________________________________ | 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 com- mand. SunOS 5.8 Last change: 4 Mar 1996 3