I would like to be able to work with hard links and soft links on the client side (Windows, Mac, Linux).
You don't need to do anything extra to support hardlinks. No need for
unix extensions = Yes
when you create a new SMB share in TrueNAS. Just create the share normally.
Your client / file-browser needs to support creating hardlinks. If you don't want to "guess", just use the terminal on your Linux or Mac client and issue the
ln
command over the SMB share, such as:
Code:
ln original.dat duplicate.dat
If the client is Linux, do not use the built-in GVFS/KIO method of your file-browser, such as Dolphin or GNOME Files. Properly mount the share via the
cifs
kernel module using
mount,
automount,
systemd,
fstab,
Smb4K, or etc.
EDIT: I'm not sure how you would create hardlinks from the Windows File Explorer, CMD, or PowerShell.