ext2_bg_num_gdb(9)
π 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 filesystemgroupβ 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:
__rsv_window_dump(9)goal_in_my_reservation(9)search_reserve_window(9)rsv_window_remove(9)ext2_init_block_alloc_info(9)ext2_discard_reservation(9)ext2_free_blocks(9)bitmap_search_next_usable_block(9)find_next_usable_block(9)ext2_try_to_allocate(9)find_next_reservable_window(9)alloc_new_reservation(9)try_to_extend_reservation(9)ext2_try_to_allocate_with_rsv(9)ext2_has_free_blocks(9)ext2_bg_has_super(9)
bye bestie, mwah π β this one's from ./fs/ext2, October 2026 πΈ
π¦ 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