Thanks. IMHO, the title should no longer mention NTFS. The behavior can be observed on any filesystem.
Try this, for example, on an ext* FS:
# touch foo
# ln foo bar
# gzip bar
gzip: bar has 1 other link -- unchanged
# bzip2 bar
bzip2: Input file bar has 1 other link.
# xz bar
xz: bar: Input file has more than one hard link, skipping
# lzma bar
lzma: bar: Input file has more than one hard link, skipping
Note: I have also affected this bug to the gzip project
Thanks. IMHO, the title should no longer mention NTFS. The behavior can be observed on any filesystem.
Try this, for example, on an ext* FS:
# touch foo
# ln foo bar
# gzip bar
gzip: bar has 1 other link -- unchanged
# bzip2 bar
bzip2: Input file bar has 1 other link.
# xz bar
xz: bar: Input file has more than one hard link, skipping
# lzma bar
lzma: bar: Input file has more than one hard link, skipping
Note: I have also affected this bug to the gzip project