gnu-arch-users
[Top][All Lists]
Advanced

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

Re: [Gnu-arch-users] Re: Question about branching a subset


From: Aaron Bentley
Subject: Re: [Gnu-arch-users] Re: Question about branching a subset
Date: Mon, 04 Apr 2005 15:32:58 -0400
User-agent: Mozilla Thunderbird 0.6 (X11/20040530)

John Arbash Meinel wrote:
Aaron Bentley wrote:
This may be because the implementation of hard links under HFS+ has
fairly bad performance.

This seems to be the problem. I was very surprised when I found that
using "tla changes --link" actually made tree-lint and changes *slower*
rather than faster.

Do you have a version of your relink script that can actually *unlink*
all of the files? :)

No, and I'm deeply offended by the suggestion :-)

Okay, I suspect it wouldn't be that hard to do. Mainly, you need to write a variant of walk_candidates that outputs only things that *don't* need to be hard-linked.

Then, instead of re-linking, copy the file to a tempfile, make damn sure you set the permissions properly, and rename it over top of the original.

Aaron
--
Aaron Bentley
Director of Technology
Panometrics, Inc.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]