![]() |
![]() |
![]() |
UDisks Reference Manual | ![]() |
---|
udisksctludisksctl — udisks command line tool |
udisksctl
info { --object-path OBJECT
| --block-device DEVICE
}
udisksctl
mount { --object-path OBJECT
| --block-device DEVICE
} [ --filesystem-type TYPE
] [--options OPTIONS
...] [--no-user-interaction]
udisksctl
unmount { --object-path OBJECT
| --block-device DEVICE
} [--force] [--no-user-interaction]
udisksctl
unlock { --object-path OBJECT
| --block-device DEVICE
} [--no-user-interaction]
udisksctl
lock { --object-path OBJECT
| --block-device DEVICE
} [--no-user-interaction]
udisksctl
monitor
udisksctl
dump
udisksctl
help
udisksctl is a command-line program used to interact with the udisksd(8) daemon process.
|
Mounts a device. The device will be mounted in a
subdirectory in the
The device will be mounted with a safe set of default
options. You can influence the options passed to the
mount(8)
command with |
|
Unmounts a device previously mounted by
udisksd(8).
The option |
|
Unlocks an encrypted device. The passphrase will be requested from the controlling terminal and upon successful completion, the cleartext device will be printed to standard output. |
|
Locks a device previously unlocked by udisksd(8). |
|
Monitors the daemon for events. |
|
Prints the current state of the daemon. |
|
Prints help and exit. |
The option --no-user-interaction
can be used
to request that no interaction (such as the user being
presented with an authentication dialog) must occur when
checking with
polkit(8)
whether the caller is authorized to perform the requested
action.
This program does not assume that the caller is the super user - it is intended to be used by unprivileged users and authorizations are checked by the udisks daemon using polkit(8). Additionally, this program is not intended to be used by scripts or other programs - options/commands may change in incompatible ways in the future even in maintenance releases. Scripts and/or other programs should either use the D-Bus APIs of udisksd(8) or native low-level commands such as mount(8).
udisksctl ships with a bash completion script to complete commands, objects, block devices and some options.
Please send bug reports to either the distribution bug tracker or the upstream bug tracker at http://bugs.freedesktop.org/enter_bug.cgi?product=udisks.