How mount a mount point available in desktop/file manager under Removable Media
category but has not ever been clicked so not been recognized from shell yet, by use of command line?
Then only if this first click was done, it further can be recognized and used on shell by commands
Asked
Active
Viewed 241 times
1
-
For full clarity: what file manager are you using? E.g. I see "Removable Devices" in the left panel of Dolphin (KDE's default file manager). Are we referring to the same list of devices? Also, which KDE version are you running? – fra-san Jul 16 '20 at 10:44
1 Answers
1
On a systemd system you likely have udisksctl
, from the udisks2
package. Quoting the udisks(8)
manual:
udisks provides interfaces to enumerate and perform operations on disks and storage devices. Any application (including unprivileged ones) can access the udisksd(8) daemon via the name org.freedesktop.UDisks2 on the system message bus[1].
Use
$ udisksctl status
to list the devices you can act upon,
$ udisksctl info --block-device /dev/sdXn
to inspect them (either the block device sdX
or one of its partitions, sdXn
) and
$ udisksctl mount --block-device /dev/sdXn
to mount a volume. The command will output the full path of its mount point. Finally, to unmount and power-off a device:
$ udisksctl unmount --block-device /dev/sdXn
$ udisksctl power-off --block-device /dev/sdX
See also

fra-san
- 10,205
- 2
- 22
- 43