search_inode(9)
π search_inode(9) β like, the inode-speedrun page
okay bestie, welcome to the search_inode manual page, part of the Kernel API Manual collection β¨ this one's short and sweet and honestly kind of iconic for how specific it is π
πΈ NAME πΈ
search_inode β literally the function that goes looking for an inode inside the RB-tree of inodes ππ¦
β¨ SYNOPSIS β¨
struct fsck_inode * search_inode (struct fsck_data *fsckd , ino_t inum );
that's the whole signature, no cap π
π«Ά ARGUMENTS π«Ά
fsckdβ the FS checking information π§ this is your data pass-around buddyinumβ the inode number you're trying to find π the actual target of the search
π DESCRIPTION π
so this is a helper function for 'check_leaf' π what it does is it searches for the inode inum in the RB-tree of inodes, and then it hands you back an inode information pointer π
and if the inode isn't in there? you get NULL. that's it, that's the whole vibe π not found, no inode, no problem (well, some problem, but a returned problem) π
π SEE ALSO π
the lore is deep, bestie β this lives in the Kernel file ./fs/ubifs/debug.c π and here's the whole extended friend group:
ubifs_dump_index(9)dbg_save_space_info(9)dbg_check_space_info(9)dbg_check_synced_i_size(9)dbg_check_key_order(9)dbg_check_znode(9)dbg_check_tnc(9)dbg_walk_index(9)add_size(9)dbg_check_idx_size(9)struct fsck_inode(9)struct fsck_data(9)add_inode(9)read_add_inode(9)check_leaf(9)free_inodes(9)check_inodes(9)dbg_check_filesystem(9)dbg_check_data_nodes_order(9)dbg_check_nondata_nodes_order(9)provide_user_output(9)interpret_user_input(9)dbg_debugfs_init_fs(9)dbg_debugfs_exit_fs(9)dbg_debugfs_init(9)dbg_debugfs_exit(9)ubifs_debugging_init(9)ubifs_debugging_exit(9)
like, read them all, they're all connected, iykyk π₯
one thing though bestie β remember this page is filed under ./fs/ubifs, dated October 2026 πΈ so if you're quoting it in the group chat, that's the receipt π
okay that's the page, ily, go find those inodes π§β¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms