volrmmount - call rmmount to mount or unmount media
volrmmount [-i | -e] [name | nickname]
volrmmount [-d]
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.
For example, using default settings, if you insert a music CD, it might 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).
The following options are supported:
-i
-e
-d
The following operands are supported:
name
nickname
|
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.
/dev/volctl
See attributes(5) for descriptions of the following attributes:
|
cpio(1), eject(1), tar(1), rmmount(1M), attributes(5)
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |