[Unit]
Description=Windows data (ntfs)
After=network.target
[Mount]
What=/dev/disk/by-uuid/$UUID
Where=/mnt/Disk
Type=ntfs
Options=rw,noatime
[Install]
WantedBy=multi-user.target
sudo systemctl enable --now mnt-Disk.mount
Can this be true? (without making mnt-Disk.automount)
Yes - using this with a fixed disk will mount it permanently.
As you jumped into another thread - remember to adjust for your usecase.
You cannot rename the mount point without renaming the unit file.
Important!
mountpoint |
filename |
/mnt/Disk |
mnt-Disk.mount |
/data/games |
data-games.mount |
/data/usb/backup |
data-usb-backup.mount |
/data/usb/backup |
data-usb-backup.automount |
2 Likes
system
Closed
3
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.