[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Make hardlinking kernel-devel optional



Once upon a time, Jeremy Katz <katzj redhat com> said:
> It does it so that you ensure that you're only hardlinking the same copy
> of any foo.h in the directory layout instead of all copies

Why?  hardlink isn't going to replace files that are different, so there
is no gain in not letting hardlink link all copies that are the same.

It is smart enough to look at the stat() info before reading the
contents for comparison, so files of different sizes aren't going to be
compared just because they have the same name.

The whole point of running hardlink is to reduce disk usage; why not let
it try to do the best job possible?
-- 
Chris Adams <cmadams hiwaay net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]