I don't understand the --object-path
option in the udisksctl
command
I want to unmount an USB thumb drive, but I don't want to have to lookup it's device name (for example /dev/sdb) at each mount. The device name can change across mounts. I want a static way to identify the drive, for example by its partition name or UUID. Does the --object-path
service this function?
How do I identify what the --object-path
is of a USB thumb drive so I can execute a command such as the following with a partition name that is static across mountings: udisksctl unmount --object-path /media/greg/FD-ext4