STRUCT NILFS_VDESC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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