[Req] Mount subdirectories from NFS server

Hi,

Currently, dietpi-drive_manager by default mounts just NFS server root, e.g.:

cat /etc/fstab | grep nfs

192.168.1.400:/ /mnt/dietpi_userdata/Music nfs auto,_netdev,nofail 0 0

This creates a long confusing extra path under DietPi’s client mount directory when the NFS server actually exports a subdirectory from its disk. Would be nice to be able to specify something like the following instead in such case:

192.168.1.400:/disk/noises /mnt/dietpi_userdata/Music nfs auto,_netdev,nofail 0 0

This works as desired if I edit /etc/fstab manually but unfortunately, dietpi-drive_manager apparently does not support “192.168.1.400:/disk/noises” notation. Should be trivial to add?

Thanks,
Bamyasi

Jep you are right, makes sense to allow that and should be easy to implement, as well for Samba. I opened a GitHub issue for this request: https://github.com/Fourdee/DietPi/issues/2519

feature has been implemented on DietPi 8.3