ext2_bg_num_gdb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ext2_bg_num_gdb(9)

okay so bestie, this page is from the Kernel API Manual, and it's literally about the number of blocks used by the group table in a group. filesystem internals but make it cute ✨

✨ NAME ✨

ext2_bg_num_gdb β€” number of blocks used by the group table in group

πŸŽ€ SYNOPSIS πŸŽ€

unsigned long ext2_bg_num_gdb (struct super_block *sb , int group );

🫢 ARGUMENTS 🫢

two little inputs, both iconic:

  • sb β€” superblock for filesystem
  • group β€” group number to check

πŸ’… DESCRIPTION πŸ’…

okay so this function returns the number of blocks used by the group descriptor table (primary or backup) in this group. slay β€” it's giving exactly what the name says. ✨

heads up though: in the future there may be a different number of descriptor blocks in each group. so don't get too comfy assuming it's always the same number forever, iykyk πŸ¦‹

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./fs/ext2/balloc.c is the one serving looks, and it's linking you to all these besties:

bye bestie, mwah πŸ’– β€” this one's from ./fs/ext2, October 2026 🌸

πŸ“¦ where this page comes from