Disk Automount

Appears there was a recent change per documentation in which all labeled partitions will Automount. But I've configured via the previous method. So I need to edit the mount point of the partition and then remove the entry in fstab?
9 Replies
wolfyreload
wolfyreload4w ago
I don't think that you need to change anything, if you have done an auto mount in the old manual way it shouldn't try and automount the drive in the new way.
Kyle Gospo
Kyle Gospo4w ago
If they're already mounted they will continue to be mounted in perpetuity The Auto Mount only concerns itself with things that aren't mounted I would just leave your setup alone, it's working for you and that's what matters
Zeglius
Zeglius4w ago
Actually, it triggers if: 1. The partition mounting is not set in fstab (and not commented out) 2. Is labeled 3. Uses btrfs/ext4
Andy10115
Andy10115OP4w ago
Ok it is set fstab sounds like I'll be good.
pengu1nton
pengu1nton3w ago
Wanted to ask an additional question or two based on this. Every time I boot it pulls a drive that is meant for another Distro. It's BTRFS so I'm assuming it's recognizing that and just automounting on boot. Can I make it NOT do that? Because when mess with something in Bazzite and I go to another distro, whatever Bazzite has touched (in my experiences) makes the whole drive unreadable in the other distro. I see this is also a resolved post, but thought it recent enough to squeak in a question instead of making an entire new post, but will make one if need be, sorry in advance
Zeglius
Zeglius3w ago
No worries, I didn't have such cases in mind when I set it up. There are two ways: 1. Adding these partitions to stab with the ro option 2. Disabling the automounting all together with
sudo ln -s /dev/null /etc/udev/rules.d/99-media-automount.rules
sudo ln -s /dev/null /etc/udev/rules.d/99-media-automount.rules
pengu1nton
pengu1nton3w ago
I'm assuming ro tells it to ignore drive?
Zeglius
Zeglius3w ago
Rather mounts it, but read only
pengu1nton
pengu1nton3w ago
Ah I think I'll take option 2 because I'm not smart enough to understand Linux on a deep level and am too scared that some black magic will still break it in the other OS I also see you're a contributor; thank you for your work in making Linux a viable alt to Windows

Did you find this page helpful?