[Req] Mount subdirectories from NFS server


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

cat /etc/fstab | grep nfs /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: /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 “” notation. Should be trivial to add?


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