HP-UX Reference (11i v2 03/08) - 4 File Formats (vol 8)

i
inode_vxfs(4) inode_vxfs(4)
The remaining bytes of the inode are reserved for extended attribute
records. Their format is:
length The length of the attribute record. If this is not a multiple of 4
bytes, the start of the next attribute record is found by rounding
the length up to a 4 byte boundary.
format The format of the data layout of the remainder of the attribute
record. Each attribute consists of a class identifying the
attribute’s administrative domain, a subclass identifying the
attribute within the administrative domain, and data. The valid
record formats are:
ATTR_EXTIMMED
Extends the immediate data area so that files larger than 96
bytes can be stored directly in the inode.
ATTR_IMMED
The attribute is stored directly in the inode. The fields in
the rest of this record are:
class The class of the attribute.
subclass The subclass of the attribute.
data The attribute data.
ATTR_DIRECT
When attributes are too large to store directly in the inode,
each attribute is stored in its own file. ATTR_DIRECT lists
each attribute along with the inode number corresponding
to the file in which the attribute is stored. The number of
entries in the list is determined by the length of the record.
The fields in each entry are:
class The class of the attribute.
subclass The subclass of the attribute.
length The length of the attribute data. This allows
attribute operations to check the length of an
attribute without reading the attribute inode.
inumber The inode number of the file containing the attri-
bute data. The inode is part of the attribute
fileset.
The attribute records in the inode terminate with a record that has a format
of zero (for compatibility with file systems that have the last 80 bytes of all
inodes set to NULL).
SEE ALSO
setext(1M), stat(2), fs_vxfs(4), vxfsio(7).
Section 4148 Hewlett-Packard Company 3 HP-UX 11i Version 2: August 2003