Hello,
 
    The HFS+ specs mention:
"
    UInt32 attributes;
 The following constants define the various bits that may be set in the attributes field of the header record.
 
enum{
kBTBadCloseMask = 0x00000001,
kBTBigKeysMask=0x00000002,
kBTVariableIndexKeysMask=0x00000004
}
                                                                 "
 
 
In my case I need to set both kBTBigkeysMask and kBTVariableIndexKeysMask. What is meant by bits 1,2 and 4?
 
 Do I set attributes = 6 (assuming 2 and 4 refer to positions 1(2^1) and 2(2^2))
 
OR
 
 attributes = 20 (binary 10100) starting to count from 0 (LSB) ?
 
OR attributes = 10 (binary 1010) starting to count from 1 (LSB) ?
 
Can somebody please tell me how this is to be interpreted?
Regards,
Nandini Hengen