Easy USB disk mount command

mountusb-drive

In a typical GUI file manager, like PCManFM, I can mount a USB drive by simply clicking on its icon. Is there a similar command I can use which automatically creates a directory in the right place (/media/USER/label) before it mounts the drive? I use Debian 9.

Best Answer

udisks2

udiskctl mount -b /dev/sdXy

Example

udiskctl mount -b /dev/sdb1

mounts 1. Partition from /dev/sdb

udisks

udisks --mount /dev/sdXy
Related Question