[GTALUG] RaspberryPi won't automount USB memory stick

Nicholas Krause xerofoify at gmail.com
Sat Jan 15 02:04:01 EST 2022



On 1/14/22 23:24, Kevin Cozens via talk wrote:
> Greetings, all.
> 
> I have an embedded system that uses a Raspberry Pi 3. I have it set up and running with the latest Raspbian and all is well, almost. For some reason the Raspbian system is not set up to automount memory sticks when they are inserted in to a USB port on the machine.
> 
> On another embedded system I needed to install the usbmount package to get the system to automount a memory stick when it is inserted. I have installed usbmount on the RPi but it still won't automount a USB memory stick. The output from dmesg reports that it is seeing the insertion of the USB memory device. The device is also reported under lsusb.
> 
> Why is Raspbian not set up to automount a memory stick like is done on a normal Linux based desktop? My desktop does it and I don't have an usbmount package installed. How do I configure Raspbian to automount a memory stick?
> 

Normally it's something with systemd or udev rule flags. I had to google it as I'm
not aware of all the rules. See if this works:

Make sure it works  by changing MountFlags=slave to MountFlags=shared here:

sudo nano /lib/systemd/system/systemd-udevd.service

Not sure this helps,
Nick


More information about the talk mailing list