STRUCT NILFS_FINFO(9)
π struct nilfs_finfo(9) π
okay bestie, so we're in the Kernel API Manual today and the whole vibe is this lil struct called nilfs_finfo β it's literally just file information and nothing more. no cap. π
β¨ SYNOPSIS β¨
here's the whole thing, look at her go π
struct nilfs_finfo {
__le64 fi_ino;
__le64 fi_cno;
__le32 fi_nblocks;
__le32 fi_ndatablk;
};
that's it. that's the struct. she's compact, she's tidy, she's iconic. π
πΈ Members πΈ
okay so let's meet the members, they all carry their own lil job and honestly? they ate. π«Ά
fi_inoβ the inode number. that's her whole personality fr fr. π¦fi_cnoβ the checkpoint number. the way that this is just tracking checkpointsβ¦ obsessed. β¨fi_nblocksβ the number of blocks, and yes that includes the intermediate blocks too, don't forget those bestie, they count. π₯fi_ndatablkβ the number of file data blocks. data blocks specifically. don't get it twisted. π
π SEE ALSO π
like, go read these too, they're all in the same friend group:
Kernel file ./include/uapi/linux/nilfs2_ondisk.h
struct nilfs_inode(9)struct nilfs_super_root(9)struct nilfs_super_block(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_checkpoint(9)struct nilfs_cpfile_header(9)struct nilfs_segment_usage(9)struct nilfs_sufile_header(9)
that's the whole squad, no skips, we respect all of them. π
π§ friendly reminder: every one of those flags, numbers and names above is exactly as written β don't go renaming anything, that's not the vibe.
and that's the page bestie!! πΈ this lil beauty lives in ./include/uapi/linux and the date on it is October 2026, and it's still filed under struct nilfs_finfo(9) obviously. mwah, bye, go read some source ππ
π¦ 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