Ifile Functions

The ifile module provides methods for opening and reading Filesystem objects by inode number.

These methods could be used to make backups of a Filesystem or iterate selective areas of the Filesystem.


These objects require root permission to create


direntx struct

The direntx struct returned by ireaddir() has the following fields

d_type         # Type (int) - can be converted with 'get_type_string'
d_ino          # File inode number (int)
d_gen          # Generation number for the inode (int)
d_flags        # Flags (int) - can be converted with 'get_flags_strings'
d_name         # File name (str)