Hello,
I did this a while back; it worked and still is, but doing the same thing for an SSD partition, I get errors about the “What=” setting missing, so I haven’t got to the .automount
file yet:
systemctl status automounts-lutrisdisc.mount
○ automounts-lutrisdisc.mount - /automounts/lutrisdisc
Loaded: bad-setting (Reason: Unit automounts-lutrisdisc.mount has a bad unit file setting.)
Active: inactive (dead)
Where: /automounts/lutrisdisc
Sep 26 19:19:09 leebut-Manjaro systemd[1]: /etc/systemd/system/automounts-lutrisdisc.mount:1: Unknown section 'unit'. Ignoring.
Sep 26 19:19:09 leebut-Manjaro systemd[1]: /etc/systemd/system/automounts-lutrisdisc.mount:5: Unknown section 'mount'. Ignoring.
Sep 26 19:19:09 leebut-Manjaro systemd[1]: automounts-lutrisdisc.mount: What= setting is missing. Refusing.
Sep 26 19:19:09 leebut-Manjaro systemd[1]: /etc/systemd/system/automounts-lutrisdisc.mount:1: Unknown section 'unit'. Ignoring.
Sep 26 19:19:09 leebut-Manjaro systemd[1]: /etc/systemd/system/automounts-lutrisdisc.mount:5: Unknown section 'mount'. Ignoring.
Sep 26 19:35:55 leebut-Manjaro systemd[1]: /etc/systemd/system/automounts-lutrisdisc.mount:1: Unknown section 'unit'. Ignoring.
Sep 26 19:35:55 leebut-Manjaro systemd[1]: /etc/systemd/system/automounts-lutrisdisc.mount:5: Unknown section 'mount'. Ignoring.
Sep 26 19:35:55 leebut-Manjaro systemd[1]: automounts-lutrisdisc.mount: What= setting is missing. Refusing.
Sep 26 19:35:55 leebut-Manjaro systemd[1]: /etc/systemd/system/automounts-lutrisdisc.mount:1: Unknown section 'unit'. Ignoring.
Sep 26 19:35:55 leebut-Manjaro systemd[1]: /etc/systemd/system/automounts-lutrisdisc.mount:5: Unknown section 'mount'. Ignoring.
lsblk -no UUID /dev/sdc6
returned:
4822c45a-e7ff-4743-aebb-622dfab02b6f
Here’s the automounts-lutrisdisc.mount
file:
[unit]
Description = Mount Lutris Disc (/automounts/lutrisdisc)
[mount]
What = /dev/disk/by-uuid/4822c45a-e7ff-4743-aebb-622dfab02b6f
Where = /automounts/lutrisdisc
type = ext4
options = defaults,rw,noatime
I thought I just needed to replicate what I did before. Perhaps something has changed.