Re: "auto mount"

Patrick Dupre via users <[email protected]>
Newsgroups gmane.linux.redhat.fedora.general
Message-ID <trinity-6709dbe1-11e4-424a-8b90-93ba02738147-1780256196675@3c-app-mailcom-bs15>
I made
touch /etc/systemd/system/mnt-pdupre.automount
touch /etc/systemd/system/mnt-pdupre.mount
and 
systemctl daemon-reload

but it is still the same behavior.

Do I need to create empty real files?
Or I need to fill the files properly?
However, if I need to specify /dev/sde8, it is not going to work, because it can be
/dev/sdx8
depending on what is already mounted.


>
> On Sun, 31 May 2026 11:36:00 +0200 Patrick Dupre via users <[email protected]> wrote:
> 
> > Another thing that I do not understand (in addition to the fact that the FAT partition are
> > mounted automatically).
> > I have several USB sticks (like my SSD)
> > The FAT partitions are always mounted by default
> > The ext4 partitions are never mounted except if they are
> > encrypted, in this case the passphrase is asked and the
> > partition is mounted
> 
> Look perhaps at your file browser preferences. There is may be a list
> of filesystem types they bother to auto mount. I don't know.
> 
> > I do not really see why I should manage a file
> > /etc/systemd/system/mnt-storage_server-NVMe.mount
> > which does not exist
> 
> This was only an **example** from another person (None).
> 
> I suggested to create 2 files:
> 
>   /etc/systemd/system/mnt-pdupre.mount
>   /etc/systemd/system/mnt-pdupre.autmount
> 
> that will allow the automount of the sde8 partition, labbeled pdupre.
> 
> I forgot to say that you should make systemd aware of those files by
> executing:
> 
>   sudo systemctl daemon-reload
> 
> then follow the rest of what I said.
> 
> -- 
> 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
> 
-- 
_______________________________________________
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.