Hi,
I am trying to parse On-disk index entries stored in the index buffers for a
directory,
from an index entry I need to find out if the child is a file or a dir.
does somebody know the structure of index entry from where I can find out
this info.
any help or pointers would be appreciated
thanx in advance
Harish
Harish,
If I remember it correctly, Index entry has a flag field in which a
particular bit says whether this index entry points to a sub node
or not.
If an index entry points to a sub node then can we conclude that
this is a directory and vice versa ?
I am not sure though.
–kumar
Harish Arora wrote:
Hi,
I am trying to parse On-disk index entries stored in the index buffers for a
directory,
from an index entry I need to find out if the child is a file or a dir.
does somebody know the structure of index entry from where I can find out
this info.
any help or pointers would be appreciated
thanx in advance
Harish