bug#42620: hard link improvement for gzip (wishlist item)

2020-07-31 Thread Harald Dunkel
Looking at a file with n references by hard links: n=1 is the trivial case. No changes needed. All involved directories are read-only: Another trivial case to be ignored here. For n>1: I would suggest that the file is compressed and the directory entries are adjusted accordingly, if the direct

bug#42620: hard link improvement for gzip (wishlist item)

2020-07-31 Thread Harald Dunkel
On 2020-07-31 08:26, Harald Dunkel wrote: Looking at a file with n references by hard links: n=1 is the trivial case. No changes needed. All involved directories are read-only: Another trivial case to be ignored here. For n>1: I would suggest that the file is compressed and the directory entr

bug#42620: hard link improvement for gzip (wishlist item)

2020-07-30 Thread Paul Eggert
On 7/30/20 1:19 AM, Harald Dunkel wrote: this could be improved: % ls -l >x; ln -f x y; gzip x y gzip: x has 1 other linkĀ  -- unchanged gzip: y has 1 other linkĀ  -- unchanged What improvement do you suggest?

bug#42620: hard link improvement for gzip (wishlist item)

2020-07-30 Thread Harald Dunkel
Hi folks, this could be improved: % ls -l >x; ln -f x y; gzip x y gzip: x has 1 other link -- unchanged gzip: y has 1 other link -- unchanged Regards Harri