Re: Aliases & fileAttributesAtPath:
Re: Aliases & fileAttributesAtPath:
- Subject: Re: Aliases & fileAttributesAtPath:
- From: Ondra Cada <email@hidden>
- Date: Fri, 12 Oct 2001 13:26:51 +0100
Mike,
>
>>>>> Mike Shields (MS) wrote at Fri, 12 Oct 2001 02:08:50 -0600:
MS> >I think you'll have to resort to Carbon calls to find out if a given
MS> >path has an alias. Aliases are very much like UFS hard links; they
MS> >don't break if the file they point to is moved or renamed.
MS> >
MS>
MS> They don't even break if the file is MOVED (Most of the time that is).
MS>
MS> Aliases are pretty cool things on an HFS(+) volume. Because of the
MS> information they store, you can pretty much be guaranteed of finding the
MS> original file if it still exists.
They would, on the other hand, break almost anything what used to work
originally, from shell scripts through posix or BSD API tools to Cocoa
applications.
Soft and hard links though work quite properly with all that.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc