rmmount, rmumount - mounts and unmounts removable media
rmmount [-u] [-o options] [nickname | device] [mount_point]
rmmount [-d] [-l]
rmumount [nickname | mount_point | device]
rmumount [-d] [-l]
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.
The following options are supported for rmmount and rmumount:
-d
-l
The following options are supported for rmmount only:
-o options
-u
The following operands are supported:
device
mount_point
nickname
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
The following exit values are returned:
0
>0
/media
See attributes(5) for descriptions of the following attributes:
|
eject(1), attributes(5)
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |