STRUCT NILFS_SUINFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct nilfs_suinfo(9) 🌸

okay bestie, welcome to the Kernel API Manual πŸ’– you're literally about to meet struct nilfs_suinfo, which is giving "segment usage information" and nothing less, periodt.


✨ NAME ✨

struct nilfs_suinfo β€” segment usage information πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

here's the whole glow-up, copy it exactly bestie, no typos:

struct nilfs_suinfo {
    __u64 sui_lastmod;
    __u32 sui_nblocks;
    __u32 sui_flags;
 };

like… three fields. short. iconic. main character energy πŸ‘‘


πŸ’… Members πŸ’…

okay so let's meet the squad one by one 🫢

  • sui_lastmod β€” timestamp of last modification ⏰ the "when did u last get changed" of it all.
  • sui_nblocks β€” number of written blocks in segment 🧱 literally how many blocks got written in this segment, fr fr.
  • sui_flags β€” segment usage flags 🚩 the little flag drawer for segment usage.

πŸ”₯ SEE ALSO πŸ”₯

go read these next, i'm obsessed with this whole little family 🌈 the kernel file lives at ./include/uapi/linux/nilfs2_api.h and the related structs are:

  • struct nilfs_cpinfo(9)
  • struct nilfs_suinfo_update(9)
  • struct nilfs_cpmode(9)
  • struct nilfs_argv(9)
  • struct nilfs_period(9)
  • struct nilfs_cpstat(9)
  • struct nilfs_sustat(9)
  • struct nilfs_vinfo(9)
  • struct nilfs_vdesc(9)
  • struct nilfs_bdesc(9)

ngl bestie, this page is short but it ate. read the neighbours, they're all in ./include/uapi/linux too πŸ’€βœ¨

and that's the vibe check for struct nilfs_suinfo(9) β€” shipped from ./include/uapi/linux, dated October 2026 🌸 mwah, go slay some segment info πŸŽ€πŸ§šπŸ’œ

πŸ“¦ where this page comes from