more tweaks

This commit is contained in:
ktyl 2022-12-03 15:37:22 +00:00
parent aebe95aa01
commit 2fdd63de56
1 changed files with 4 additions and 1 deletions

View File

@ -9,6 +9,9 @@ There are other ways to do this, but as my machines predimonantly run Debian- or
This post is largely based on the description on the [ArchWiki](https://wiki.archlinux.org/title/NFS#As_systemd_unit).
My NAS' hostname is `sleeper-service`, and I'll be mounting the `Music` shared folder.
You'll need the `nfs-utils` package to mount NFS filesytems.
You may also need to configure security on your NAS to allow NFS connections from your local machine's IP.
## Initial mount
Before doing anything automatically, we first need to create a `systemd` unit to mount the remote filesystem at a path in our local filesystem.
@ -45,7 +48,7 @@ WantedBy=multi-user.target
Once we've created this, we can try to manually mount the shared folder by starting the unit:
```
$ sudo systemctl start sleeper\\x2service-Music.mount
$ sudo systemctl start sleeper\\x2dservice-Music.mount
$ ls /sleeper-service/Music
```