Hello,
Thanks to @Mirdarthos for some initial help. New post here as requested.
I did this a while back for and external HDD. It worked and still is, but while 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.
I have the directory tree. webdev is working fine. That’s on a HDD. I did make the lutrisdisc directory manually.
/
├── automounts
│ ├── lutrisdisc
│ └── webdev
Yes, I have done that a few times.