STRUCT NILFS_CPMODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

struct nilfs_cpmode β€” the change checkpoint mode structure, bestie. it's giving "tiny struct, big job" ✨

so this page lives in the Kernel API Manual (yes that's the manual name, we're fancy here πŸ‘‘) and it's all about one little struct that carries a checkpoint number and a mode. short and iconic. periodt.


🌸 SYNOPSIS 🌸

okay so here's the whole thing, and yes it's literally this small, no cap:

struct nilfs_cpmode {
    __u64 cm_cno;
    __u32 cm_mode;
    __u32 cm_pad;
 };

look at her. three fields. zero drama. main character energy fr fr πŸ’…


πŸŽ€ Members πŸŽ€

  • cm_cno β€” the checkpoint number πŸ¦‹ this is the __u64 one, she's the big sister of the group
  • cm_mode β€” the mode of checkpoint 🌸 a __u32, and yes it's exactly what it sounds like
  • cm_pad β€” padding πŸ’€ the humble little __u32 that's just here to keep things lined up. we love a supportive icon
ngl, every field keeps its exact type β€” __u64 for cm_cno, __u32 for cm_mode, __u32 for cm_pad. don't go switching them around, that's not the vibe πŸ™ˆ

⭐ SEE ALSO ⭐

the whole friend group πŸ‘‘ these are all in the kernel file ./include/uapi/linux/nilfs2_api.h, and honestly? they're all slaying in their own way:

  • struct nilfs_cpinfo(9)
  • struct nilfs_suinfo(9)
  • struct nilfs_suinfo_update(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)

go read them, iykyk πŸ’–


okay that's the whole page and you ate it up 🫢 this one comes to you straight from ./include/uapi/linux, dated October 2026 β€” like, the future?? she's ahead of her time. see you in the next manpage bestie, mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from