A pair of small tips when working with file servers.
1. It happens that when you connect SMB balls in the windows files and folders that should be hidden, somehow visible. For example $ RECYCLE.BIN, lost + found, etc.
In this case, the option will hide files in smb.conf. He writes in the section with the balls options. like this
[Backup]
path = / media / Backup
hide files = /$RECYCLE.BIN/desktop.ini/Thumbs.db/~*/lost+found/
2. It is useful for those who use the NFS server on padavan as a media server instead of DLNA. I just watch movies on your TV via NFS.
The fact that the NFS server on padavan does not have any settings and just rassharivat in all existing partitions network with all its contents, which is not always necessary. Also customers (TVs and other players) are not able to mount some directories and see all the rubbish.
I solved this problem since. In Personalization - Scripts - Run after the full launch of the router recorded the following
# Do a small pause of 10 seconds to start the NFS server could
sleep 10
# Erase all NFS server settings that are automatically enrolled
cp / dev / null / etc / exports
# Inscribe your settings (specify the directories that want to share the)
echo "/ media / Video / Video 192.168.1.0/24(ro,no_root_squash,no_subtree_check)">>/ Etc / exports
# Tell the NFS server to reset all old settings and apply the new
exportfs -r
After that, click "Apply" and reboot the router.