Patrick Dupre via users wrote: >> Sent: Tuesday, June 02, 2026 at 6:53 AM >> From: "Samuel Sieb" <[email protected]> >> To: [email protected] >> Subject: Re: "auto mount" >> >> On 5/30/26 6:08 AM, Patrick Dupre via users wrote: >>> I have an external SSD with several partitions. >>> After I plugged it, only the fat32 partitions are mounted in /run/media/user >>> The ext4 partitions are not mounted. >>> What can I do to have an automount of a specific (or not) ext4 partition. >>> Note that these partition do not show up in the file organizer >> >> This is intentional. There's a udev rule blocking automount of ext* >> partitions. See /usr/lib/udev/rules.d/64-ext4.rules >> If you really want to override it, then copy that file to >> /etc/udev/rules.d and change the 0 to a 1. > > Thank Sam.
Keep in mind that this opens you up to various attacks (most, if not all, of which require physical access, I believe). But there is a reason that e2fsprogs added the udev rules. Ideally, you'd override that much more explicitly in terms of allowing only specific filesystems. Or just use the automount recipes already detailed in this thread. The upstream commit which added the udev rule is: https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git/commit/?id=a7950660 Part of the commit message reads: I thought that nobody would be foolish enough to automount an ext4 filesystem. What a fool I was! It turns out that udisks can be told that it's okay to automount things, and then GNOME will do exactly that. Including mounting mangled ext4 filesystems! Caveat emptor, as they say. -- Todd
signature.asc
Description: PGP signature
-- _______________________________________________ users mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
