STRUCT NILFS_VDESC(9)
β¨ struct nilfs_vdesc(9) β¨
okay so bestie, welcome to the Kernel API Manual π
this is the page for struct nilfs_vdesc, and it is literally the descriptor of virtual block number. that's the whole vibe. let's get into it π«Ά
πΈ NAME πΈ
struct nilfs_vdesc β descriptor of virtual block number periodt β¨
π SYNOPSIS π
here's the struct in all its iconic glory, copy it exactly bestie, no cap:
struct nilfs_vdesc {
__u64 vd_ino;
__u64 vd_cno;
__u64 vd_vblocknr;
struct nilfs_period vd_period;
__u64 vd_blocknr;
__u64 vd_offset;
__u32 vd_flags;
__u32 vd_pad;
};
π Members π
okay so each of these fields is its own little main character, let's meet them π
vd_inoβ the inode number π§vd_cnoβ the checkpoint number βvd_vblocknrβ the virtual block number, yes the virtual one, keep up πvd_periodβ the period of checkpoint numbers πΈvd_blocknrβ the disk block number πvd_offsetβ the logical block offset inside a file π¦vd_flagsβ the flags (data or node block), iykyk π₯vd_padβ padding, just vibing there, padding π
π SEE ALSO π
go read these next bestie, they're all in the Kernel file ./include/uapi/linux/nilfs2_api.h and they all ate:
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_cpstat(9)struct nilfs_sustat(9)struct nilfs_vinfo(9)struct nilfs_bdesc(9)
ok that's the whole page, go slay some virtual block numbers πβ¨
and that's a wrap bestie π this little gem lives in ./include/uapi/linux, dated October 2026, and it's filed under struct nilfs_vdesc(9) β obsessed, honestly π«Άπ
π¦ 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