PINE64
Automount SD card or USB Stick - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Arch Linux on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=159)
+---- Thread: Automount SD card or USB Stick (/showthread.php?tid=17081)



Automount SD card or USB Stick - magdesign - 07-31-2022

Using arch64/sxmo/PPP

How can I automount external storage devices?

For example when I insert an SD card from my digicam I do not find it after boot, I need to manually mount it, which sucks a bit.

What I am looking for is a simple tool which automounts external devices (as we have e.g. in Ubuntu)

Any hints very welcome ;-)


RE: Automount SD card or USB Stick - luppivega - 10-06-2023

The AUR way (assuming you have yay or some other helper):

Code:
# this one creates the mounts by device label, e.g. /run/media/manjaro/MYDISKLABEL
yay -S usbmount

# OR, alternative package, same systemd based approach
# (this one creates mounts by device number, e.g. /media/manjaro/usb0...N)
yay -S automount-usb-git

Both projects appear to be unmaintained but they seem to work fine with current systemd incarnations: