From ae41997ebc01621c40e74a7fd29cd93b8f7fc790 Mon Sep 17 00:00:00 2001 From: Vojtech Trefny Date: Mon, 10 Dec 2018 10:43:44 +0100 Subject: [PATCH] man: Describe command options in the udisksctl man page Added short description for the "device" options (--object-path and --block-device) and for options for specific commands. Resolves: rhbz#1568269 --- doc/man/udisksctl.xml.in | 157 +++++++++++++++++++++++++++++++++++++-- 1 file changed, 149 insertions(+), 8 deletions(-) diff --git a/doc/man/udisksctl.xml.in b/doc/man/udisksctl.xml.in index 41a1410d3..3ecbafe99 100644 --- a/doc/man/udisksctl.xml.in +++ b/doc/man/udisksctl.xml.in @@ -34,6 +34,7 @@ --object-path OBJECT --block-device DEVICE + --drive DRIVE @@ -168,8 +169,9 @@ Shows detailed information about - OBJECT or - DEVICE. + OBJECT, + DEVICE or + DRIVE. @@ -179,21 +181,40 @@ Mounts a device. The device will be mounted in a - subdirectory in the /media hierarchy + subdirectory in the /run/media hierarchy - upon successful completion, the mount point will be printed to standard output. - + + + + + + + + Filesystem type to use. If not specified, autodetected filesystem + type will be used. + + + + + + + + + The device will be mounted with a safe set of default options. You can influence the options passed to the mount8 - command with . Note that only + command using this option. Note that only safe options are allowed - requests with inherently unsafe options such as suid or dev that would allow the caller to gain additional privileges, are rejected. - - + + + + @@ -206,6 +227,18 @@ references exists. + + + + + + + Lazy unmount. Detach the filesystem from the file hierarchy + now, and clean up all references to this filesystem as soon + as it is not busy anymore. + + + @@ -218,6 +251,15 @@ printed to standard output. + + + + + + Read passphrase from the given file. + + + @@ -237,6 +279,48 @@ Sets up a loop device backed by FILE. + + + + + + + File to set up a loop device for. + + + + + + + + + + Set up a read-only loop device. + + + + + + + + + + The data start is moved OFFSET bytes + into the specified file. + + + + + + + + + + The data end is set to no more than SIZE + bytes after the data start. + + + @@ -285,6 +369,16 @@ a disk is failing. + + + + + + + File with the libatasmart blob. + + + @@ -311,10 +405,57 @@ + + DEVICE SPECIFICATION + + For commands that require a device as an argument following options + can be used to specify it. + + + + + + + + + Specify a device by its device file path. For example + /dev/sda. + + + + + + + + + + Specify a device by the UDisks internal object path without the + /org/freedesktop/UDisks2 prefix. For example + block_devices/sda + for the /dev/sda disk. + + + + + + + + + + Specify a drive by name, for example VirtIO_Disk. + This can be currently used only together with the + command. + + + + + + + COMMON OPTIONS - The option can be used + The option can be used to request that no interaction (such as the user being presented with an authentication dialog) must occur when checking with