Re: Given a POSIX Path...
Re: Given a POSIX Path...
- Subject: Re: Given a POSIX Path...
- From: "Mark J. Reed" <email@hidden>
- Date: Mon, 6 Dec 2010 11:32:21 -0500
On Mon, Dec 6, 2010 at 11:19 AM, Doug McNutt
<email@hidden> wrote:
While waiting - forever - for OS 7
Waiting for Godot-ess-seven. The Messiah OS. I remember it well.
we were told that HFS 32 bit fileIDs were about to be changed to include files as well as directories. Aliases were created and used the fileID which never changed.
Since 10.5, the internal structure used by aliases to find files is deliberately opaque, and the idea of a concrete "file id" is deprecated - at least at the application level - and in fact does not exist for 64-bit applications. But as you said, aliases use a combination of attributes, not just one, and the OS does a best-match search for likely targets, rather than looking for an exact match and failing if it doesn't find one.
I think the real question here is whether a mv command preserves the fileID. That's a concept that might be similar to an inode number in UNIX but OS X still uses Apple's HFS file system - doesn't it?
OS X uses HFS+, a POSIX-compliant extension of HFS. Like any POSIX file system, HFS+ has inode numbers (which of course the mv command preserves when source and destination lie within a single file system), but they are distinct from file IDs.
--
Mark J. Reed <
email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden