# How to install autofs

**URL:** https://universal-blue.discourse.group/t/how-to-install-autofs/286
**Category:** Bluefin
**Created:** [December 21, 2023, 12:36pm UTC](https://universal-blue.discourse.group/t/how-to-install-autofs/286 "2023-12-21T12:36:10Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![indibart](https://yyz2.discourse-cdn.com/free1/user_avatar/universal-blue.discourse.group/indibart/32/416_2.png) [@indibart](https://universal-blue.discourse.group/u/indibart)
#### Post date: [December 21, 2023, 12:36pm UTC](https://universal-blue.discourse.group/t/how-to-install-autofs/286/1 "2023-12-21T12:36:10Z")

</div>

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 🙂

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

---

<div class="post-metadata">

### Author: ![j0rge](https://yyz2.discourse-cdn.com/free1/user_avatar/universal-blue.discourse.group/j0rge/32/8_2.png) [@j0rge](https://universal-blue.discourse.group/u/j0rge)
#### Post date: [December 21, 2023, 10:42pm UTC](https://universal-blue.discourse.group/t/how-to-install-autofs/286/2 "2023-12-21T22:42:56Z")

</div>

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

> **[Automatic mounts using systemd](https://anteru.net/blog/2019/automatic-mounts-using-systemd/)**
>
> Anteru's blog is a blog about development, software architecture and 3D graphics.

---

<div class="post-metadata">

### Author: ![indibart](https://yyz2.discourse-cdn.com/free1/user_avatar/universal-blue.discourse.group/indibart/32/416_2.png) [@indibart](https://universal-blue.discourse.group/u/indibart)
#### Post date: [December 23, 2023, 1:55pm UTC](https://universal-blue.discourse.group/t/how-to-install-autofs/286/3 "2023-12-23T13:55:13Z")

</div>

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

---

<div class="post-metadata">

### Author: ![indibart](https://yyz2.discourse-cdn.com/free1/user_avatar/universal-blue.discourse.group/indibart/32/416_2.png) [@indibart](https://universal-blue.discourse.group/u/indibart)
#### Post date: [December 23, 2023, 2:04pm UTC](https://universal-blue.discourse.group/t/how-to-install-autofs/286/4 "2023-12-23T14:04:50Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![j0rge](https://yyz2.discourse-cdn.com/free1/user_avatar/universal-blue.discourse.group/j0rge/32/8_2.png) [@j0rge](https://universal-blue.discourse.group/u/j0rge)
#### Post date: [December 23, 2023, 5:19pm UTC](https://universal-blue.discourse.group/t/how-to-install-autofs/286/5 "2023-12-23T17:19:48Z")

</div>

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