I would like to auto-mount some partitions the way USB drives and external HDDs are currently mounted on my system.
I understand that to auto-mount internal HDDs at startup, I need to place it in the /etc/fstab
and map its mount point, etc. But I like how my USB drives and external HDDs are automatically mounted to /run/media/myuser/drive-label
when I plug them in.
To do this to my internal HDDs, I'd have to use udiskctl mount --block-device /dev/sda4
and it then gets mounted to /run/media/myuser/sda4-label
. Is there a way of doing it automatically on boot?
I'm currently using Antergos (Arch Linux)