I'd like to create something like Windows' DFS system for sharing files on a network on Linux.
Is there a similar offering somewhere?
Samba can do it through special symbolic link files. Samba has to be compiled with the
[global] host msdfs = yes #Add DFS as a share definition [dfs] path = /srv/smb/dfsroot msdfs root = yes
Once it does, you can make symlinks with this syntax to emulate linking to a remote host:
Lower-case is key. If you're replicating the data somehow (Samba, unlike Microsoft, doesn't bundle replication in with DFS) you can emulate that as well.
It's a good idea to ensure the links are owned by root. You don't want stray users redirecting other users to places nefarious.