• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CatalogSearch - how to find hard links?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CatalogSearch - how to find hard links?


  • Subject: Re: CatalogSearch - how to find hard links?
  • From: Thomas Tempelmann <email@hidden>
  • Date: Mon, 28 Apr 2008 13:24:29 +0200
  • Thread-topic: CatalogSearch - how to find hard links?

Just to resolve this question of mine:

On 25.04.2008 18:59 Uhr, "Thomas Tempelmann" <email@hidden> wrote:

> Trouble is that it only finds about 4.2 million items out of about 5.4
> million items on the volume

I figured this one out myself - it was a simple programming error on my side
(I threw away the found results if the CatalogSearch returned any error -
although when it's returning the "no more matches" error, there are still
valid found items).

And thanks to James Bucanek I learned that I'd have to convert the returned
FSRefs from CatalogSearch into paths that I then have to pass to lstat() to
get the inode number in order to learn about the hard link relationships.

Thomas


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >CatalogSearch - how to find hard links? (From: Thomas Tempelmann <email@hidden>)

  • Prev by Date: Re: AFP functions 76 and 79
  • Next by Date: Drive ID problems
  • Previous by thread: Re: CatalogSearch - how to find hard links?
  • Next by thread: Drive ID problems
  • Index(es):
    • Date
    • Thread