#4 ls shows a wrong link count (1)

open
nobody
None
5
2003-09-19
2003-09-19
Anonymous
No

NTFS supports hard links. UnxUtils includes the ln utility
able to create them. However, UnxUtils' ls always displays
the link count of 1.

For example:

C:\t>ls -l
total 1
-rw-rw-rw- 1 user group 12 Sep 19 19:53 f1

C:\t>ln f1 f2

C:\t>ls -l
total 2
-rw-rw-rw- 1 user group 12 Sep 19 19:53 f1
-rw-rw-rw- 1 user group 12 Sep 19 19:53 f2

C:\t>ln f2 f3

C:\t>ls -l
total 3
-rw-rw-rw- 1 user group 12 Sep 19 19:53 f1
-rw-rw-rw- 1 user group 12 Sep 19 19:53 f2
-rw-rw-rw- 1 user group 12 Sep 19 19:53 f3

Discussion