home.social

#autofs — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #autofs, aggregated by home.social.

  1. Ich bin ja schon länger Linux Nutzer und hab Fedora als Daily-Driver.

    Jetzt sitzen wir hier grade und setzen Bazzite bei der Holden auf, was ja auf Silverblue, einer Atomic Distro, basiert.
    Ich hab mich damit ja auch noch nicht auseinandergesetzt. Wollten AutoFS einrichten füs NAS. Geht nur unter /var, nicht unter /mnt oder /media.

    Das Internet ist da aber auch nicht gerade mit Hülle & Fülle an Informationen gespickt 😬

    #Linux #Fedora #Bazzite #FedoraAtomic #FedoraSilverblue #AutoFS

  2. Ich bin ja schon länger Linux Nutzer und hab Fedora als Daily-Driver.

    Jetzt sitzen wir hier grade und setzen Bazzite bei der Holden auf, was ja auf Silverblue, einer Atomic Distro, basiert.
    Ich hab mich damit ja auch noch nicht auseinandergesetzt. Wollten AutoFS einrichten füs NAS. Geht nur unter /var, nicht unter /mnt oder /media.

    Das Internet ist da aber auch nicht gerade mit Hülle & Fülle an Informationen gespickt 😬

    #Linux #Fedora #Bazzite #FedoraAtomic #FedoraSilverblue #AutoFS

  3. Ich bin ja schon länger Linux Nutzer und hab Fedora als Daily-Driver.

    Jetzt sitzen wir hier grade und setzen Bazzite bei der Holden auf, was ja auf Silverblue, einer Atomic Distro, basiert.
    Ich hab mich damit ja auch noch nicht auseinandergesetzt. Wollten AutoFS einrichten füs NAS. Geht nur unter /var, nicht unter /mnt oder /media.

    Das Internet ist da aber auch nicht gerade mit Hülle & Fülle an Informationen gespickt 😬

    #Linux #Fedora #Bazzite #FedoraAtomic #FedoraSilverblue #AutoFS

  4. Ich bin ja schon länger Linux Nutzer und hab Fedora als Daily-Driver.

    Jetzt sitzen wir hier grade und setzen Bazzite bei der Holden auf, was ja auf Silverblue, einer Atomic Distro, basiert.
    Ich hab mich damit ja auch noch nicht auseinandergesetzt. Wollten AutoFS einrichten füs NAS. Geht nur unter /var, nicht unter /mnt oder /media.

    Das Internet ist da aber auch nicht gerade mit Hülle & Fülle an Informationen gespickt 😬

    #Linux #Fedora #Bazzite #FedoraAtomic #FedoraSilverblue #AutoFS

  5. Ich bin ja schon länger Linux Nutzer und hab Fedora als Daily-Driver.

    Jetzt sitzen wir hier grade und setzen Bazzite bei der Holden auf, was ja auf Silverblue, einer Atomic Distro, basiert.
    Ich hab mich damit ja auch noch nicht auseinandergesetzt. Wollten AutoFS einrichten füs NAS. Geht nur unter /var, nicht unter /mnt oder /media.

    Das Internet ist da aber auch nicht gerade mit Hülle & Fülle an Informationen gespickt 😬

    #Linux #Fedora #Bazzite #FedoraAtomic #FedoraSilverblue #AutoFS

  6. TIL: AutoFS for automatically mount a remote filesystem (e.g. a SMB share) on accessing the local mount path. 😲

    docs.kernel.org/filesystems/au

    #AutoFS #networking #linux #filesystems

  7. TIL: AutoFS for automatically mount a remote filesystem (e.g. a SMB share) on accessing the local mount path. 😲

    docs.kernel.org/filesystems/au

    #AutoFS #networking #linux #filesystems

  8. TIL: AutoFS for automatically mount a remote filesystem (e.g. a SMB share) on accessing the local mount path. 😲

    docs.kernel.org/filesystems/au

    #AutoFS #networking #linux #filesystems

  9. TIL: AutoFS for automatically mount a remote filesystem (e.g. a SMB share) on accessing the local mount path. 😲

    docs.kernel.org/filesystems/au

    #AutoFS #networking #linux #filesystems

  10. TIL: AutoFS for automatically mount a remote filesystem (e.g. a SMB share) on accessing the local mount path. 😲

    docs.kernel.org/filesystems/au

    #AutoFS #networking #linux #filesystems

  11. Decided to give autofs a try, so it can automount network shares when I access them. Tried it on the laptop and it worked effortlessly, so I set it up on the desktop.

    Let's see if there are any downsides to using it over at-startup fstab mounts.

    #autofs #linux

  12. Decided to give autofs a try, so it can automount network shares when I access them. Tried it on the laptop and it worked effortlessly, so I set it up on the desktop.

    Let's see if there are any downsides to using it over at-startup fstab mounts.

    #autofs #linux

  13. Decided to give autofs a try, so it can automount network shares when I access them. Tried it on the laptop and it worked effortlessly, so I set it up on the desktop.

    Let's see if there are any downsides to using it over at-startup fstab mounts.

    #autofs #linux

  14. Decided to give autofs a try, so it can automount network shares when I access them. Tried it on the laptop and it worked effortlessly, so I set it up on the desktop.

    Let's see if there are any downsides to using it over at-startup fstab mounts.

    #autofs #linux

  15. Decided to give autofs a try, so it can automount network shares when I access them. Tried it on the laptop and it worked effortlessly, so I set it up on the desktop.

    Let's see if there are any downsides to using it over at-startup fstab mounts.

    #autofs #linux

  16. We've discovered a #Linux issue when testing #sydbox: If you enter a user+mount ns and attempt to mount over a directory which is marked as #autofs in root ns, the first open(2) w/O_PATH will fail with "ELOOP" which seems to indicate mount is still in progress as it succeeds on second try after autofs mounts the underlying filesystem. autofs docs seem to mention a similar error case and recommend mount --make-shared. #Bug or #feature? Any #kernel people can comment? TIA! gitlab.exherbo.org/sydbox/sydb

  17. We've discovered a #Linux issue when testing #sydbox: If you enter a user+mount ns and attempt to mount over a directory which is marked as #autofs in root ns, the first open(2) w/O_PATH will fail with "ELOOP" which seems to indicate mount is still in progress as it succeeds on second try after autofs mounts the underlying filesystem. autofs docs seem to mention a similar error case and recommend mount --make-shared. #Bug or #feature? Any #kernel people can comment? TIA! gitlab.exherbo.org/sydbox/sydb

  18. We've discovered a #Linux issue when testing #sydbox: If you enter a user+mount ns and attempt to mount over a directory which is marked as #autofs in root ns, the first open(2) w/O_PATH will fail with "ELOOP" which seems to indicate mount is still in progress as it succeeds on second try after autofs mounts the underlying filesystem. autofs docs seem to mention a similar error case and recommend mount --make-shared. #Bug or #feature? Any #kernel people can comment? TIA! gitlab.exherbo.org/sydbox/sydb

  19. We've discovered a #Linux issue when testing #sydbox: If you enter a user+mount ns and attempt to mount over a directory which is marked as #autofs in root ns, the first open(2) w/O_PATH will fail with "ELOOP" which seems to indicate mount is still in progress as it succeeds on second try after autofs mounts the underlying filesystem. autofs docs seem to mention a similar error case and recommend mount --make-shared. #Bug or #feature? Any #kernel people can comment? TIA! gitlab.exherbo.org/sydbox/sydb

  20. Is #Autofs the way to go when mounting a #Samba share on #Linux? I've been using the #Fstab method on my PC which is fine, but maybe not ideal on a mobile setup like on a laptop where you're going in and out of the network, and if the laptop loses access to the #SMB server, file managers like #Dolphin just turn stupid and freezes forever - apparently Autofs might not have this issue?

  21. Is #Autofs the way to go when mounting a #Samba share on #Linux? I've been using the #Fstab method on my PC which is fine, but maybe not ideal on a mobile setup like on a laptop where you're going in and out of the network, and if the laptop loses access to the #SMB server, file managers like #Dolphin just turn stupid and freezes forever - apparently Autofs might not have this issue?

  22. Is #Autofs the way to go when mounting a #Samba share on #Linux? I've been using the #Fstab method on my PC which is fine, but maybe not ideal on a mobile setup like on a laptop where you're going in and out of the network, and if the laptop loses access to the #SMB server, file managers like #Dolphin just turn stupid and freezes forever - apparently Autofs might not have this issue?

  23. Is #Autofs the way to go when mounting a #Samba share on #Linux? I've been using the #Fstab method on my PC which is fine, but maybe not ideal on a mobile setup like on a laptop where you're going in and out of the network, and if the laptop loses access to the #SMB server, file managers like #Dolphin just turn stupid and freezes forever - apparently Autofs might not have this issue?

  24. Is #Autofs the way to go when mounting a #Samba share on #Linux? I've been using the #Fstab method on my PC which is fine, but maybe not ideal on a mobile setup like on a laptop where you're going in and out of the network, and if the laptop loses access to the #SMB server, file managers like #Dolphin just turn stupid and freezes forever - apparently Autofs might not have this issue?

  25. Is it possible to use #autofs to mount a luks encrypted partition?

  26. Is it possible to use #autofs to mount a luks encrypted partition?

  27. Is it possible to use #autofs to mount a luks encrypted partition?

  28. I usually have a few SMB shares from my NAS mounted on my Raspberry Pis. However, I rarely need to actually use them and scripts only need them once a day (backup). So I figured: Why let the OS bother with keeping those mounts active all day long when there’s a better way?

    Cue autofs.

    A simple sudo apt install autofs is all it needs to get it installed. It already comes with this line in /etc/auto.master:

    +dir:/etc/auto.master.d

    This means it will load additional configs from /etc/auto.master.d – so that’s where I had to add my own. However, this is not the actual definition of mounts but the main entry pointing to the config file containing the actual mounts.

    My /etc/auto.master.d/mbirth.autofs looks like this:

    /-    /etc/auto.mbirth      browse,--timeout 30

    The /- in the beginning has autofs NOT create an indirect mount point. Normally, you’d have this indirect mount point, e.g. /smb, and autofs would populate all mounts below that. This is great for larger setups or where the available mounts change often. But not for me.

    The second parameter points to the map file and after that there are additional options. browse has autofs create the mount point folders. (In older versions, this option was called ghost.) Normally, those wouldn’t be visible in the file system unless you try to explicitly access them. I guess this is to prevent a mounting frenzy if there’s a tool scanning the whole filesystem.

    And now to the important file: /etc/auto.mbirth:

    /mnt/mbirth    -fstype=smb3,credentials=/etc/cred/mynas    ://nas/mbirth

    This will make a folder mbirth show up in /mnt and once you enter it, it will mount //nas/mbirth using smb3 with the credentials in the given file. You can add more parameters to mount.smb3, if you like. After 30 seconds of no activity, the share will be unmounted again in the background.

    Just be aware that mounting the share upon the first request takes a little time. So if you have some task that regularly needs something from the storage, either adjust the timeout or maybe this isn’t a good solution for your use case.

    https://blog.mbirth.uk/2024/07/14/autofs-everything.html

    #autofs #linux

  29. Κάντε Auto-mount κρυπτογραφημένες συσκευές κατά την εκκίνηση του συστήματος χωρίς αλλαγές στο /etc/fstab:
    linux-user.gr/t/kante-auto-mou

    -mount

  30. Κάντε Auto-mount κρυπτογραφημένες συσκευές κατά την εκκίνηση του συστήματος χωρίς αλλαγές στο /etc/fstab:
    linux-user.gr/t/kante-auto-mou

    #autofs #auto-mount #encryption #luks

  31. Yesterday after months of cursing with and on a laptops running , I found the way of auto-mounting a file system which may not always be available seems to work better so far...

  32. Yesterday after months of cursing with #NFSv4 and #AutoFS on a laptops running #Debian, I found the #systemd way of auto-mounting a file system which may not always be available seems to work better so far...

  33. Yesterday after months of cursing with #NFSv4 and #AutoFS on a laptops running #Debian, I found the #systemd way of auto-mounting a file system which may not always be available seems to work better so far...

  34. Yesterday after months of cursing with #NFSv4 and #AutoFS on a laptops running #Debian, I found the #systemd way of auto-mounting a file system which may not always be available seems to work better so far...

  35. After many years of package maintenance in #debian, I finally resolved to adopt the orphaned #autodir tool for #Linux, which is based on #autofs and we actively use at work. It used to be also packaged in Fedora until 2015.
    See github.com/fpl/autodir for the new home and updates.

    In the meantime, I also updated its seasoned #LDP howto, but I wonder if the Linux Documentation Project will live again or not in the future: apparently the whole project pages and mirrors seem frozen as an ice cube.

  36. After many years of package maintenance in #debian, I finally resolved to adopt the orphaned #autodir tool for #Linux, which is based on #autofs and we actively use at work. It used to be also packaged in Fedora until 2015.
    See github.com/fpl/autodir for the new home and updates.

    In the meantime, I also updated its seasoned #LDP howto, but I wonder if the Linux Documentation Project will live again or not in the future: apparently the whole project pages and mirrors seem frozen as an ice cube.

  37. After many years of package maintenance in #debian, I finally resolved to adopt the orphaned #autodir tool for #Linux, which is based on #autofs and we actively use at work. It used to be also packaged in Fedora until 2015.
    See github.com/fpl/autodir for the new home and updates.

    In the meantime, I also updated its seasoned #LDP howto, but I wonder if the Linux Documentation Project will live again or not in the future: apparently the whole project pages and mirrors seem frozen as an ice cube.

  38. After many years of package maintenance in #debian, I finally resolved to adopt the orphaned #autodir tool for #Linux, which is based on #autofs and we actively use at work. It used to be also packaged in Fedora until 2015.
    See github.com/fpl/autodir for the new home and updates.

    In the meantime, I also updated its seasoned #LDP howto, but I wonder if the Linux Documentation Project will live again or not in the future: apparently the whole project pages and mirrors seem frozen as an ice cube.

  39. After many years of package maintenance in #debian, I finally resolved to adopt the orphaned #autodir tool for #Linux, which is based on #autofs and we actively use at work. It used to be also packaged in Fedora until 2015.
    See github.com/fpl/autodir for the new home and updates.

    In the meantime, I also updated its seasoned #LDP howto, but I wonder if the Linux Documentation Project will live again or not in the future: apparently the whole project pages and mirrors seem frozen as an ice cube.

  40. @fuersi So, also das ist eindeutig pure Magie! 😍 🎩 💫 Einmal die #terminal -Sprüche "aufgesagt", mounted und entmounted sich die #nas jetzt wie aus Zauberhand - je nach Bedarf! 🥳 🧙‍♂️

    Vielen Dank für deinen genialen Tipp @fuersi mit #autofs und für die Zauberstunde von allen, die sich hier mit den vielen, wertvollen Ansätzen eingeklinkt haben! 🥰 🙏

    #linux #freesoftware

  41. @fuersi So, also das ist eindeutig pure Magie! 😍 🎩 💫 Einmal die #terminal -Sprüche "aufgesagt", mounted und entmounted sich die #nas jetzt wie aus Zauberhand - je nach Bedarf! 🥳 🧙‍♂️

    Vielen Dank für deinen genialen Tipp @fuersi mit #autofs und für die Zauberstunde von allen, die sich hier mit den vielen, wertvollen Ansätzen eingeklinkt haben! 🥰 🙏

    #linux #freesoftware

  42. @fuersi So, also das ist eindeutig pure Magie! 😍 🎩 💫 Einmal die #terminal -Sprüche "aufgesagt", mounted und entmounted sich die #nas jetzt wie aus Zauberhand - je nach Bedarf! 🥳 🧙‍♂️

    Vielen Dank für deinen genialen Tipp @fuersi mit #autofs und für die Zauberstunde von allen, die sich hier mit den vielen, wertvollen Ansätzen eingeklinkt haben! 🥰 🙏

    #linux #freesoftware

  43. @fuersi So, also das ist eindeutig pure Magie! 😍 🎩 💫 Einmal die #terminal -Sprüche "aufgesagt", mounted und entmounted sich die #nas jetzt wie aus Zauberhand - je nach Bedarf! 🥳 🧙‍♂️

    Vielen Dank für deinen genialen Tipp @fuersi mit #autofs und für die Zauberstunde von allen, die sich hier mit den vielen, wertvollen Ansätzen eingeklinkt haben! 🥰 🙏

    #linux #freesoftware

  44. I can recommend #autofs for you all who want to mount #nfs. Mounting nfs by itself or with fstab can be quite janky in my experience, but using autofs with it works well.

  45. I can recommend #autofs for you all who want to mount #nfs. Mounting nfs by itself or with fstab can be quite janky in my experience, but using autofs with it works well.

  46. I can recommend #autofs for you all who want to mount #nfs. Mounting nfs by itself or with fstab can be quite janky in my experience, but using autofs with it works well.