Skip to main content

Module inode

Module inode 

Source
Expand description

§Inode and path resolution: mapping between inodes, logical addresses, and paths

Covers looking up the subvolume root ID that contains a given file, resolving an inode number to its filesystem paths, mapping a logical byte address back to the inodes that reference it, and resolving a subvolume ID to its path within the filesystem.

Structs§

LogicalInoResult
Result from logical-ino resolution: (inode, offset, root)

Functions§

ino_paths
Get file system paths for the given inode.
logical_ino
Get inode, offset, and root information for a logical address.
lookup_path_rootid
Look up the tree ID (root ID) of the subvolume containing the given file or directory.
subvolid_resolve
Resolve a subvolume ID to its full path on the filesystem.