Documentation: Does ntfs-3g support Linux hardlinks?
aryoda opened this issue · 4 comments
It it possible to use Linux hardlinks?
I have not found any documentation the explicitly states that it either is supported or is not supported.
[linux@optiplex ~]$ cd /shared/ntfs
[linux@optiplex ntfs]$ echo qwerty > first
[linux@optiplex ntfs]$ ln first second
[linux@optiplex ntfs]$ ln second third
[linux@optiplex ntfs]$ chmod 640 first second third
[linux@optiplex ntfs]$ ls -li first second third
263 -rw-r----- 3 linux linux 7 Oct 4 08:24 first
263 -rw-r----- 3 linux linux 7 Oct 4 08:24 second
263 -rw-r----- 3 linux linux 7 Oct 4 08:24 third
[linux@optiplex ntfs]$ cat first second third
qwerty
qwerty
qwerty
[linux@optiplex ntfs]$
@jpandre THX a lot for testing this :-) Could you please add the mounting options that you have used to have a fully reproducible example?
It would be great if one of the developers could confirm that hardlinks are fully supported (or describing the known limitations).
@aryoda If you're looking for documentation, it's described in the very first section of the ntfs-3g
manpage:
DESCRIPTION
ntfs-3g is an NTFS driver, which can create, remove, rename, move
files, directories, hard links, and streams; it can read and write
files, including streams, sparse files and transparently compressed
files; it can handle special files like symbolic links, devices, and
FIFOs; moreover it provides standard management of file ownership and
permissions, including POSIX ACLs.
No special options are needed, they are always enabled.
May I suggest to add a full list of supported features to the readme.md - maybe similar or in sync with the above cited man page - so that it is easier to find this information (without the need to install ntfs-3g
first)...
Eg. hard links are not mentioned there currently...