Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HFS+ reusable node ID's



On 1/30/01 3:01 PM, Markus Silpala wrote:
> Mac OS 9.0.4 and earlier, a Node ID is used exactly once per volume per
> initialization. When you replace a file in the Finder, the new one keeps its
> node ID, and the node ID of the replaced file ceases to exist.
>
> An alias to the old file still works because the alias record also holds path
> information, and falls back on that if the old node ID doesn't exist anymore.
> I wouldn't expect that to break in Mac OS X.

Well, that depends on your definition of "break", since node IDs are now
being reused. And according to email@hidden:

On 1/29/01 1:29 PM, Mark Day (email@hidden) wrote:
> Note that it is possible to construct scenarios where a node ID is
> reused immediately, when you happen to delete an object whose ID
> happens to be the next value that will be used.

If a node ID is reused immediately and an alias was pointing to that node
ID, what happens when you follow that alias?

-John


References: 
 >Re: HFS+ reusable node ID's (From: Markus Silpala <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.