How to quickly and easily mount an USB drive as a regular user using the command line
To mount my USB drive, I was using the traditional
sudo mount /dev/sdXY /path/to/mountpoint. But because I was mounting as root, I had to prefix every operation with
sudo. So how to mount it as a regular user ?
$ sudo pacman -S udisks2), which is used by
gvfs and various file managers:
$ udisks --mount /dev/sdd1 Mounted /org/freedesktop/UDisks/devices/sdd1 at /media/KINGSTON
To find your device:
$ sudo fdisk -l
Now I can execute basic
mv... operations on
/media/KINGSTON without having to prefix them with
No comment yet.
A remark, a suggestion? Do not hesitate to express yourself below. Just be courteous and polite, please.