Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8015

Raspberry Pi OS • Re: How to read contents of flash drive when it's plugged in

$
0
0
If you can't get udev to work a possible workaround is a generic fstab entry with the x-systemd.automount option. Won't give you mount on insert rather mount on access attempt.

Something like this should do it:

Code:

/dev/sda1 /mnt auto defaults,x-systemd.automount,nofail,noauto 0 0
Configuring it will get tedious quickly but for a single drive with a single partition it might be enough.

Statistics: Posted by thagrol — Wed Jun 11, 2025 11:37 pm



Viewing all articles
Browse latest Browse all 8015

Trending Articles