gio-tool: Clarify that gio mount -l only lists user-interesting things

It doesn’t list all mounts, only the ones you’d expect to see in a file
chooser sidebar.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>

Helps: #3555
This commit is contained in:
Philip Withnall 2024-12-08 22:58:50 +00:00
parent ae946acb81
commit fa33e232d2
No known key found for this signature in database
GPG Key ID: C5C42CFB268637CA
2 changed files with 8 additions and 2 deletions

View File

@ -58,6 +58,12 @@ Plain filenames which contain a colon will be interpreted as URIs with an
unknown protocol. To avoid this, prefix them with a path such as ``./``, or with
the ``file:`` protocol.
Volumes, drives and mounts are limited to the ones which are considered
interesting to the user, such as removable drives. System mounts will not be
shown, meaning the output from ``gio mount`` is not equivalent to the output
from tools like ``fdisk``, and ``gio monitor --mounts`` will only list events
relevant to selected mounts.
COMMANDS
--------

View File

@ -71,8 +71,8 @@ static const GOptionEntry entries[] =
{ "force", 'f', 0, G_OPTION_ARG_NONE, &force, N_("Ignore outstanding file operations when unmounting or ejecting"), NULL },
{ "anonymous", 'a', 0, G_OPTION_ARG_NONE, &anonymous, N_("Use an anonymous user when authenticating"), NULL },
/* Translator: List here is a verb as in 'List all mounts' */
{ "list", 'l', 0, G_OPTION_ARG_NONE, &mount_list, N_("List"), NULL},
{ "monitor", 'o', 0, G_OPTION_ARG_NONE, &mount_monitor, N_("Monitor events"), NULL},
{ "list", 'l', 0, G_OPTION_ARG_NONE, &mount_list, N_("List user-interesting volumes, drives and mounts"), NULL},
{ "monitor", 'o', 0, G_OPTION_ARG_NONE, &mount_monitor, N_("Monitor user-interesting volume, drive and mount events"), NULL},
{ "detail", 'i', 0, G_OPTION_ARG_NONE, &extra_detail, N_("Show extra information"), NULL},
{ "tcrypt-pim", 0, 0, G_OPTION_ARG_INT, &tcrypt_pim, N_("The numeric PIM when unlocking a VeraCrypt volume"), N_("PIM")},
{ "tcrypt-hidden", 0, 0, G_OPTION_ARG_NONE, &tcrypt_hidden, N_("Mount a TCRYPT hidden volume"), NULL},