Re: "auto mount"

Francis Montagnac via users <[email protected]>
Newsgroups gmane.linux.redhat.fedora.general
Message-ID <20260601111029.1a3d2f87@fmpc>
On Mon, 1 Jun 2026 10:20:14 +0200 Patrick Dupre via users <[email protected]> wrote:

> If I understand, it has bee mounted according its label specified in 
> mnt-pdupre.mount

Yes.

> How can I get all the ext4 partitions mounted without specifying the
> LABEL ?

By specifying UUID=SOME_UUID.

If you have several such ext4 partitions, it would be easier, as Joe
Zeff said, tu use /etc/fstab instead of creating 2 systemd units for
each of them.

Use such template (in /etc/fstab):

  UUID=SOME_UUID /mnt/SOME_NAME ext4 defaults,x-systemd.automount 0 0

instantiate SOME_UUID and SOME_NAME for each wanted partition.

> I really do not understand why the ext4 partitions have a different
> behavior regarding the USB sticks.

I don't know: I do not use "Gnome Files"

Beware, before unpluging such USB sticks, you should manually umount
the ext4 partitions if you mounted them (with /etc/fstab or .mount
units).

-- 
francis
-- 
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.