Hi Jean-Pierre,

When there are more than 1 hardlinks on files on a ext4 volume I get:
$ ls -alR
.:
insgesamt 8440
drwxr-xr-x 4ich ich    4096 Jan 19 15:40 .
drwxrwxr-x 8ich ich    4096 Jan 19 13:03 ..
drwxrwxr-x 2ich ich    4096 Jan 19 12:08 169
drwxrwxr-x 2ich ich    4096 Jan 19 12:08 176
-rw-r--r-- 2 ich ich 2671117 Sep 27  2013 IMG_0457.JPG
-rw-r--r-- 2 ich ich 3714974 Dez 25  2013 IMG_0514.JPG
-rw-r--r-- 2 ich ich 2233636 Dez 25  2013 IMG_0515.JPG

./169:
insgesamt 2620
drwxrwxr-x 2ich ich    4096 Jan 19 12:08 .
drwxr-xr-x 4ich ich    4096 Jan 19 15:40 ..
-rw-r--r-- 2 ich ich 2671117 Sep 27  2013 IMG_0457.JPG

./176:
insgesamt 5820
drwxrwxr-x 2ich ich    4096 Jan 19 12:08 .
drwxr-xr-x 4ich ich    4096 Jan 19 15:40 ..
-rw-r--r-- 2 ich ich 3714974 Dez 25  2013 IMG_0514.JPG
-rw-r--r-- 2 ich ich 2233636 Dez 25  2013 IMG_0515.JPG


With NTFS-3G on a NTFS volume I get:
$ ls -alR
.:
insgesamt 8464
drwx------ 1ich root         4096 Jan 19 15:48 .
drwx------ 1ich root        36864 Jan 19 15:45 ..
drwx------ 1ich root            0 Jan 19 12:08 169
drwx------ 1ich root            0 Jan 19 12:08 176
-rwx------ 2 ich root      2671117 Sep 27  2013 IMG_0457.JPG
-rwx------ 2 ich root      3714974 Dez 25  2013 IMG_0514.JPG
-rwx------ 2 ich root      2233636 Dez 25  2013 IMG_0515.JPG

./169:
insgesamt 2616
drwx------ 1ich root       0 Jan 19 12:08 .
drwx------ 1ich root    4096 Jan 19 15:48 ..
-rwx------ 2 ich root 2671117 Sep 27  2013 IMG_0457.JPG

./176:
insgesamt 5816
drwx------ 1ich root       0 Jan 19 12:08 .
drwx------ 1ich root    4096 Jan 19 15:48 ..
-rwx------ 2 ich root 3714974 Dez 25  2013 IMG_0514.JPG
-rwx------ 2 ich root 2233636 Dez 25  2013 IMG_0515.JPG


For all directories the hardlink count is only 1 on NTFS.
Is that expected by design or a bug?

Regards,

Ulf

--
Von meinem Seibert gesendet

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
ntfs-3g-devel mailing list
ntfs-3g-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel

Reply via email to