STRUCT UBIFS_GLOBAL_DEBUG_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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