From c96586e605e1eb3f2497fe3fc0cd4b0599424203 Mon Sep 17 00:00:00 2001 From: Eiman Date: Wed, 28 Oct 2020 21:37:26 +0330 Subject: [PATCH] udisktctl: add page (#4856) --- pages/linux/udisksctl.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/linux/udisksctl.md diff --git a/pages/linux/udisksctl.md b/pages/linux/udisksctl.md new file mode 100644 index 0000000000..d9224400c0 --- /dev/null +++ b/pages/linux/udisksctl.md @@ -0,0 +1,28 @@ +# udisksctl + +> A command-line program used to interact with the udisksd daemon process. +> More information: . + +- Show high-level information about disk drives and block devices: + +`udisksctl status` + +- Show detailed information about a device: + +`udisksctl info --block-device {{/dev/sdX}}` + +- Show detailed information about a device partition: + +`udisksctl info --block-device {{/dev/sdXN}}` + +- Mount a device partition and prints the mount point: + +`udisksctl mount --block-device {{/dev/sdXN}}` + +- Unmount a device partition: + +`udisksctl unmount --block-device {{/dev/sdXN}}` + +- Monitor the daemon for events: + +`udisksctl monitor`