STRUCT UBIFS_GLOBAL_DEBUG_INFO(9)
πΈ NAME πΈ
struct ubifs_global_debug_info β the global (not per-FS, okay? global) UBIFS debugging information. It's giving "one struct to rule all the debug switches" energy π
This page lives in the Kernel API Manual (section 9), so likeβ¦ kernel devs only, bestie π«Ά
β¨ SYNOPSIS β¨
struct ubifs_global_debug_info {
unsigned int chk_gen:1;
unsigned int chk_index:1;
unsigned int chk_orph:1;
unsigned int chk_lprops:1;
unsigned int chk_fs:1;
unsigned int tst_rcvry:1;
};
Look at all those :1 bitfields, literally one bit each, so frugal, so iconic π
π Members π
Every single one of these is a single-bit flag, and each one is a whole vibe check for a different corner of UBIFS:
chk_genβ flips on when general extra checks are enabled. The default-era bestie of the group πchk_indexβ flips on when index xtra checks are enabled. Yes, xtra. With an x. We don't question the kernel's spelling choices πchk_orphβ flips on when orphans extra checks are enabled. Someone's gotta check on the orphans πchk_lpropsβ flips on when lprops extra checks are enabled. Lprops nation rise π¦chk_fsβ flips on when UBIFS contents extra checks are enabled. Big "check the whole fit before you leave the house" energy π₯tst_rcvryβ flips on when UBIFS recovery testing mode is enabled. Recovery era, tst_rcvry era, we love to see it β
Reminder bestie: this struct is global β not per-FS. It's not going in your filesystem's little profile, it's the whole squad's settings π
π₯ SEE ALSO π₯
- Kernel file
./fs/ubifs/debug.h struct ubifs_debug_info(9)β the per-FS sibling, go say hi π
And that's the whole page, no cap. This masterpiece was served to you by ./fs/ubifs, October 2026, and the header/footer text that says struct ubifs...l_debug_info(9) (yes the truncation is canon, we stan a mysterious ellipsis) π§π
π¦ 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