STRUCT NILFS_CHECKPOINT(9)
π struct nilfs_checkpoint(9) β the checkpoint glow-up π
okay so bestie, welcome to the struct nilfs_checkpoint page π
this is from the Kernel API Manual, and it's literally the checkpoint structure β the lil record that says "hey, the filesystem was looking like this at this moment" β¨
π NAME π
struct nilfs_checkpoint β checkpoint structure. that's it, that's the vibe π«Ά
β¨ SYNOPSIS β¨
here's the whole struct, copy-paste exact, no cap:
struct nilfs_checkpoint {
__le32 cp_flags;
__le32 cp_checkpoints_count;
struct nilfs_snapshot_list cp_snapshot_list;
__le64 cp_cno;
__le64 cp_create;
__le64 cp_nblk_inc;
__le64 cp_inodes_count;
__le64 cp_blocks_count;
struct nilfs_inode cp_ifile_inode;
};
look at her. so organized. main character energy, fr fr π
πΈ Members πΈ
time for the member-by-member vibe check, one at a time, nobody gets skipped π
cp_flagsβ the flags. yes bestie, flags β¨cp_checkpoints_countβ checkpoints count in a block. lowkey important.cp_snapshot_listβ the snapshot list π¦cp_cnoβ checkpoint number. the cno. iconic.cp_createβ creation timestamp β (when she was born)cp_nblk_incβ number of blocks incremented by this checkpoint πcp_inodes_countβ inodes countcp_blocks_countβ blocks countcp_ifile_inodeβ inode of ifile π
ngl,cp_flagsandcp_inodes_countare described pretty minimally up there β that's exactly how the original rolls, so i'm not gonna invent lore. keeping it honest π
π SEE ALSO π
go read these too, bestie, it's giving required reading π and they're all in the Kernel file ./include/uapi/linux/nilfs2_ondisk.h:
struct nilfs_inode(9)struct nilfs_super_root(9)struct nilfs_super_block(9)struct nilfs_finfo(9)struct nilfs_binfo_v(9)struct nilfs_binfo_dat(9)union nilfs_binfo(9)struct nilfs_segment_summary(9)struct nilfs_btree_node(9)struct nilfs_direct_node(9)struct nilfs_palloc_group_desc(9)struct nilfs_dat_entry(9)struct nilfs_snapshot_list(9)struct nilfs_cpfile_header(9)struct nilfs_segment_usage(9)struct nilfs_sufile_header(9)
and that's the whole page!! π
β¨π this bb lives over at ./include/uapi/linux, dated October 2026, and she's filed under struct nilfs_checkpoint(9) β mwah, go slay your kernel hackery bestie π«Άππ₯
π¦ 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