halevt-mount1
Mount or umount device through hal
Usage
halevt-mount {[options]
[-w]
mountpoint | device | udi}
halevt-mount {[options]
<-c | -r>
<-a | mountpoint | device | udi>}
halevt-mount {[options]
<-l | -s>}
halevt-umount {[options]
<
-a | mountpoint | device | udi>}
Overview
halevt-mount Mount or umount device through HAL and keep a track of devices handled. When called as halevt-umount the default is to unmount, when called as halevt-mount the default is to mount. Option -c, -l, -r, -s or -w changes the operation performed. Additional argument is considered to be a mount point, a device or an udi when unmounting or removing.
If the commands are not called with -s after changes in the state of the devices (after mounting, unmounting, removing devices), the information available for halevt-mount and halevt-umount may become out of sync with the state of the system.
When run as user halevt (or as root), no uid= argument is passed to HAL when mounting, otherwise this option is passed, if the filesystem allows it.
Options
-
-a -
When listing, list all the existing devices. For the other operations, perform the operation on all the handled devices.
-
-c -
Remove the handled device.
-
-d device -
Use device device.
-
-f file -
Use file file to store information about the handled devices instead of the default.
-
-h -
Help message and options summary.
-
-i directory -
Use lock file and device information file in the directory directory (if they are not already specified).
-
-l -
List handled devices. Formatted with, on each line, udi:device:mountpoint.
-
-p mountpoint -
Use mountpoint mountpoint.
-
-m umask -
Set mount umask to umask if run as a system user, and the filesystem supports it.
-
-n file -
Use file file as lock file.
-
-o option -
Add the option option to the mount call.
-
-r -
Umount.
-
-s -
Sync the information about the handled devices with the informations known by HAL.
-
-u udi -
Use udi udi.
-
-w -
Add to the handled devices.
Version
This is halevt-mount version 0.1.6.2.
Releases
Unchanged in 2 releases since Debian 6.0 (Squeeze).