Re: CatalogSearch - how to find hard links?
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