[hfs-user] Restrictions on root/index nodes ???

Simon Bazley <sibaz@sibaz.com> simon@sibaz.com
Tue, 26 Mar 2002 16:10:13 +0000 (GMT)


At a guess I'd say check all the FID and DIDs are valid and unique

On Tue, 26 Mar 2002, Entwicklung wrote:

> Hello listers,
>                 I've encountered a problem which I am not able to attribute to anything particular and would like to know if I am making any basic mistake or have overlooked something.
>
> I'm creating a catalog B-Tree with 1 root node (index) containing five ptr recs to a second level of five index nodes, each of which contains 11 pointer records to 11 leaf nodes each.
> The problem I'm facing is that the files referenced by the last 22 ptr recs i.e. in the last 2 lower level index nodes
> are not readable on my Mac although the correct Icons do appear and all my files are displayed.
>
> I think there must be some problem with the referencing (data fork locations in the leaf nodes) so I checked this but it seems to be fine (just like it is for the first 3 index nodes which work perfectly) . Since all the icons get displayed correctly I thought the problem must lie within the leaf nodes but this doesn't seem to be the case.
> On my Mac I get an error of the form "Schreib/Lese Fehler" or "Read/Write error"..... What could this be due to ? Checking with hfsutils under Linux gives me the error "Wrong logical location" or similar.... does anybody know what this is due to?
>
> I think it must be some basic mistake I am making (related to the HFS-Specifications perhaps ?) but I have been unable to narrow it down so far..(hlp!).. would be glad of some professional advice.
>
> Regards,
> Nandini Hengen
>