iunique (9) - Linux Man Pages
iunique: get a unique inode number
iunique - get a unique inode number
ino_t iunique(struct super_block
*sb, ino_t max_reserved);
- highest reserved inode number
Obtain an inode number that is unique on the system for a given superblock. This is used by file systems that have no natural permanent inode numbering system. An inode number is returned that is higher than the reserved limit but unique.