STRUCT NILFS_CPSTAT(9)
πΈ struct nilfs_cpstat(9) πΈ
okay bestie, welcome to the Kernel API Manual corner of the internet π this one's short, sweet, and honestly kind of a serve β we're talking about struct nilfs_cpstat, aka the lil stats blob for checkpoints. no cap, it's tiny. let's get into it π
β¨ NAME β¨
struct nilfs_cpstat β checkpoint statistics π¦
like, literally just checkpoint statistics. that's the whole vibe check, and it passed π
π§ SYNOPSIS π§
ok so deep breath, here's the whole struct, and yes you can just read it, it's not that deep:
struct nilfs_cpstat {
__u64 cs_cno;
__u64 cs_ncps;
__u64 cs_nsss;
};
three __u64s. that's it. that's the struct. main character energy from a very small cast ππ
π Members π
cs_cnoβ the checkpoint number π’ like, which checkpoint are we even talking about, yk?cs_ncpsβ number of checkpoints π the actual count, fr frcs_nsssβ number of snapshots πΈ yes it'snssswith three s's, no I did not make that up, yes it's iconic
π«Ά SEE ALSO π«Ά
the whole friend group lives in the kernel file ./include/uapi/linux/nilfs2_api.h β go say hi to all of them π:
struct nilfs_cpinfo(9)struct nilfs_suinfo(9)struct nilfs_suinfo_update(9)struct nilfs_cpmode(9)struct nilfs_argv(9)struct nilfs_period(9)struct nilfs_sustat(9)struct nilfs_vinfo(9)struct nilfs_vdesc(9)struct nilfs_bdesc(9)
ngl that's a whole squad π§β¨
lowkey a reminder: this is a struct of __u64 fields, so it's checkpoint statistics and nothing else β no hidden extras, no secret lore, just the numbers π
and that's the page, bestie π sourced straight from ./include/uapi/linux, dated October 2026, and filed under struct nilfs_cpstat(9) β periodt π
π₯ mwah, go read the SEE ALSOs, ily π«Άπ
π¦ 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