How to install autofs

Hi there!

I’m new to bluefin/ublue/containers etc. coming from traditional Linux. Until it clicks I’ll probably ask very basic (sometimes probably stupid) questions. I hope you’re going to look past it :slight_smile:

I would like to install autofs to automount NFS and SMB shares.
What’s the best way to do that?

(Traditionally one would just install autofs. So probably rpm-ostree install autofs.)

Cheers

1 Like

I think you’d want to just use the normal systemd automounting instead of another tool?

Oh I didn’t know systemd could do that. Thanks for that, I’ll look into it.

Related question: What is the recommended location for mount points in Bluefin or in general in imutable systems?

Traditionally I would put the mount point somewhere under /mnt, but /mnt is read-only in Bluefin. Do I understand correctly that best practice would be to make the mount point under /var/mnt?

/mnt is just a symlink to /var/mnt, that should work fine!