Stores state information for an open file system.
More...
#include <tsk_fs.h>
Public Attributes
struct {
Pointer to the image layer state.
Byte offset into img_info that fs starts.
};
Number of blocks in fs.
Number of bytes that follow each block (currently only used for RAW CDs)
Number of bytes that precede each block (currently only used for RAW CDs)
Size of each block (in bytes)
Size of device block (typically always 512)
string "name" of data unit type
void * encryption_data
TSK_FS_ENCRYPTION_TYPE_ENUM encryption_type
Endian order of data.
Address of first block.
First valid metadata address.
flags for file system
uint8_t
fs_id [TSK_FS_INFO_FS_ID_LEN]
File system id (as reported in boot sector)
Number of bytes in fs_id that are being used.
type of file system
void * impl
Number of metadata addresses.
Pointer to file system specific function that prints details on a specific file to a file handle.
More...
uint8_t(*
jentry_walk )(
TSK_FS_INFO *, int, TSK_FS_JENTRY_WALK_CB, void *)
Address of journal inode.
Address of last block as reported by file system (could be larger than last_block in image if end of image does not exist)
Address of last block – adjusted so that it is equal to the last block in the image or volume (if image is not complete)
Last valid metadata address.
List of unallocated inodes that are pointed to by a file name – Used to find orphan files.
More...
int(*
name_cmp )(
TSK_FS_INFO *, const char *, const char *)
Files and dirs in the top level of the $OrphanFiles directory. NULL if orphans have not been hunted for yet. (r/w shared - lock)
Metadata address of root directory.
int tag
Detailed Description
Stores state information for an open file system.
One of these are generated for each open files system and it contains file system-type specific data. These values are all filled in by the file system code and not the caller functions. This struct (and its subclasses) should be allocated only by tsk_fs_malloc and deallocated only by tsk_fs_free, which handle init/deinit of the locks.
Member Data Documentation
Pointer to file system specific function that prints details on a specific file to a file handle.
- Parameters
-
fs File system file is located in
hFile File handle to print text to
inum Address of file in file system
numblock The number of blocks in file to force print (can go beyond file size)
sec_skew Clock skew in seconds to also print times in
- Returns
- 1 on error and 0 on success
Referenced by btrfs_open().
List of unallocated inodes that are pointed to by a file name – Used to find orphan files.
Is filled after looking for orphans or afer a full name_walk is performed. (r/w shared - lock)
The documentation for this struct was generated from the following file: