windows - Unique file identifiers on NTFS and $Object_ID -


from articles have found online there appears 2 forms of unique identifiers files on ntfs:

$object_id – attribute holds id. id used distributed link tracking service. example of how used found in shortcuts. make shortcut on desktop points file. move file. shortcut still function because using way tack source file other path , file name.

not files have $object_id attribute. in fact, isn’t until actual id assigned attribute added file.

i trying understand when object id set. here few questions:

  1. when object id assigned? appear based on above article in 1 scenario occurs when shortcut file created.

  2. does object id assigned automatically when file references file, e.g. word document, embeds visio diagram?

  3. do object ids assigned when distributed link tracking enabled/running or exist regardless of distributed link tracking?

  4. if wanted track unique identifier file, there advantage me use object id (64 bytes) on combined volume serial number , file index (low/high), 12 bytes combined.

thanks, elan

it depends on you're trying do. :)

the file index number, documentation says, identifier file in ntfs (as opposed fat), can change if file deleted , recreated (think backup/restore), though might consider bonus if looking distinguish those.

it's best not worry link tracking service regard object ids, , instead think of them can create/set/read, though again in ntfs.

object ids have overhead, whereas file ids not. applications, end picking file reference numbers (even though potentially fragile).


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -