You can use systemd mount and automount files for this. You need to make a pair 
of files for each partition you wish to mount. 

Here is an example of the files I use to mount my NFS shares from my NAS: 

<code>
[Unit]  
Description=Mount ZimaOS Quick-Storage  
After=network-online.target  
Wants=network-online.target  

[Mount]  
What=192.168.50.4:/media/nvme0n1p1   
Where=/mnt/storage_server/NVMe  
Type=nfs  
Options=defaults,noatime,nodiratime,rsize=1048576,wsize=1048576,timeo=14,soft  

[Install]  
WantedBy=multi-user.target
</code>

<code>
[Unit]  
Description=Mount ZimaOS Quick-Storage via NFS  
After=network-online.target  
Wants=network-online.target  

[Mount]  
What=192.168.50.4:/media/Quick-Storage  
Where=/mnt/storage_server/Quick_Storage  
Type=nfs  
Options=defaults,noatime,nodiratime,rsize=1048576,wsize=1048576,timeo=14,soft  

[Install]  
WantedBy=multi-user.target
</code>

On May 30, 2026 9:18:15 AM EDT, Patrick Dupre via users 
<[email protected]> wrote:
>I wish to add
>sde                                                                            
>         
>├─sde1                                                                         
>         
>├─sde2 vfat   FAT32               FD3E-BBEF                               
>748.5M     0% /run/media/pdupre/FD3E-BBEF
>├─sde3 vfat   FAT32               FD4E-F901                                 
>4.9G     0% /run/media/pdupre/FD4E-F901
>├─sde4 swap   1                   93b70efd-c815-45ba-b4ed-9f7d58bcae8e         
>         
>├─sde5 vfat   FAT16               FFD6-B02E                                    
>         
>├─sde6 ext4   1.0   root          3d7386bf-c961-4f15-a62c-297547491b1c         
>         
>├─sde7 ext4   1.0                 9de10f00-e19d-43ae-8b5f-f019428cedaf         
>         
>├─sde8 ext4   1.0   pdupre        f88a30fd-77ba-49c0-ac69-b1f219a6dda1         
>         
>└─sde9 ext4   1.0   pdupre_ext    21118fa6-1afe-46d1-a13f-b573c6e5d0ac 
>
>How can I have sde8 and sde9 mounted "automatically" in /run/media/pdupre/
>
>>
>> Hello,
>> 
>> 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 partitions do not show up in the file organizer
>> 
>> Thank.
>> 
>> 
>> ===========================================================================
>>  Patrick DUPRÉ                                 | | email: [email protected]
>> ===========================================================================
>> 
>
>-- 
>_______________________________________________
>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

Reply via email to