The layout of an attribute is
offset(length) Description 0(4) Type 4(2) Length 8(1) 0=resident, 1=data stored in runs 9(1) name length A(2) offset to name or resident data C(2) 1=compressed E(2) Attribute ID Resident attributes: 10(4) data length 14(2) offset to data 16(2) attribute is indexed Nonresident attributes: 10(8) starting VCN of this segment 18(8) last VCN of this segment 20(2) offset to data 22(2?) Number of compression engine ? '4' for compressed files 28(8) allocated disk space 30(8) size of the attribute 38(8) length of initialized data 40(8) compressed size All: data start Name (if present) data start + namelen start of data or data runsThe following attribute types are known. The list of attributes of a volume is stored in the $Attribute file.
For nonresident attributes, the data is stored in runs.