UDISKSCTL(1) | User Commands | UDISKSCTL(1) |
udisksctl - The udisks command line tool
udisksctl status
udisksctl info {--object-path OBJECT | --block-device DEVICE | --drive DRIVE}
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] [--key-file PATH] [--read-only]
udisksctl lock {--object-path OBJECT | --block-device DEVICE} [--no-user-interaction]
udisksctl loop-setup --file PATH [--read-only] [--offset OFFSET] [--size SIZE] [--no-user-interaction]
udisksctl loop-delete {--object-path OBJECT | --block-device DEVICE} [--no-user-interaction]
udisksctl power-off {--object-path OBJECT | --block-device DEVICE} [--no-user-interaction]
udisksctl smart-simulate --file PATH {--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.
status
info
mount
-t, --filesystem-type
-o, --options
unmount
-f, --force
unlock
--key-file=PATH
lock
loop-setup
-f, --file=FILE
-r, --read-only
-o, --offset=OFFSET
-s, --size=SIZE
loop-delete
power-off
Note that as some physical devices contain multiple drives (for example 4-in-1 flash card reader USB devices) powering off one drive may affect other drives. As such there are not a lot of guarantees associated with performing this action. Usually the effect is that the drive disappears as if it was unplugged.
smart-simulate
-f, --file=FILE
monitor
dump
help
For commands that require a device as an argument following options can be used to specify it.
-b, --block-device=DEVICE
-p, --object-path=OBJECT
-d, --drive=DRIVE
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. See the “API STABILITY” section of udisks(8) for more information.
udisksctl ships with a bash completion script to complete commands, objects, block devices and some options.
This man page was originally written for UDisks2 by David Zeuthen <zeuthen@gmail.com> with a lot of help from many others.
Please send bug reports to either the distribution bug tracker or the upstream bug tracker at https://github.com/storaged-project/udisks/issues.
August 2018 | udisks 2.9.2 |