On the Raspbian Stretch, usbmount can be made to work by changing the MountFlags option in /lib/systemd/system/systemd-udevd.service from slave to shared.

On Raspbian Buster (Kernel 4.19.58-v7l+), the MountFlags option has been removed from the service file, despite adding it back in as shared, usbmount no longer works. I have also set PrivateMounts=no without success.

I have also tried using udev-media-automount without success.

I am using the 'lite' version of Raspbian, so the regular graphical auto-mounting is not available. What is the best solution to automatically mount and unmount USB drives?

New contributor
Scott is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

Scott is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.