Holds information about the location of file content (or a file attribute). More...
#include <tsk_fs.h>
Holds information about the location of file content (or a file attribute).
For most file systems, a file has only a single attribute that stores the file content. Other file systems, such as NTFS, have multiple attributes. If multiple attributes exist, they are stored in a linked list. Attributes can be "resident", which means the data is stored in a small buffer instead of being stored in a full file system block. "Non-resident" attributes store data in blocks and they are stored in the data structure as a series of runs. This structure is used to represent both of these cases.
The non-resident data has several size values.
* |--------------------------------------------------------------------| * |skiplen|---------------allocsize------------------------------------| * |skiplen|---------------size-----------------------------------| * |skiplen|---------------initsize------------| *
Data associated with a non-resident file / attribute.
The data is stored in one or more data runs.
Referenced by TskFsAttribute::getAllocSize(), TskFsAttribute::getCompSize(), TskFsAttribute::getInitSize(), TskFsAttribute::getRun(), TskFsAttribute::getRunCount(), TskFsAttribute::getSkipLen(), and tsk_fs_attr_read().
Data associated with a resident attribute / file.
The data is stored in a buffer.
Referenced by TskFsAttribute::getBuf(), and tsk_fs_attr_read().
Copyright © 2007-2020 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.