
On 2022-01-15 2:04 a.m., Nicholas Krause wrote:
On 1/14/22 23:24, Kevin Cozens via talk wrote:
Why is Raspbian not set up to automount a memory stick like is done on a normal Linux based desktop?
Normally it's something with systemd or udev rule flags. [snip] Make sure it works by changing MountFlags=slave to MountFlags=shared here:
sudo nano /lib/systemd/system/systemd-udevd.service
Thank you Nick. That seems to have fixed it. I tried some Internet searches but never saw any reference to that file or that setting. I tried reading the information about it once I knew what to look for but didn't understand some of the information about the MountFlags option. I have never run across any mention of drive mounts having a namespace. That is something I associate with code. The odd thing is my Linux based system with its graphical desktop has the setting set to slave but it does automount memory sticks. As someone else mention running headless seems to make a difference. I'm running a system that uses Raspbian Lite because the embedded system has limited memory and it is used in a situation where it is enclosed in a box so there is no need for a graphical desktop. -- Cheers! Kevin. http://www.ve3syb.ca/ | "Nerds make the shiny things that https://www.patreon.com/KevinCozens | distract the mouth-breathers, and | that's why we're powerful" Owner of Elecraft K2 #2172 | #include <disclaimer/favourite> | --Chris Hardwick