Me, trying to step into the world of linux

https://feddit.de/post/2244209

Me, trying to step into the world of linux - Feddit

Here’s how to mount an nfs share:

#cat /etc/systemd/system/mnt.data.mount [Unit] Description=nfs mount script [Mount] What=192.168.0.30:/mnt/tank/Media Where=/mnt/data Type=nfs4 [Install] WantedBy=remote-fs.target
I’ve always mounted network shares in fstab, what’s the benefit to doing it with systemd?
you can stop and start it via systemctl and systemd is going to make mounts for fstab entries automatically, I just put local drives in my fstab so that way I can copy mount files between machines