ext4_bg_has_super(9)
okay bestie, welcome to the ext4_bg_has_super(9) page from the Kernel API Manual π this one is short, sweet, and extremely on-brand.
π NAME π
ext4_bg_has_super β number of blocks used by the superblock in group
πΈ SYNOPSIS πΈ
int ext4_bg_has_super (struct super_block *sb , ext4_group_t group );
π ARGUMENTS π
sbβ superblock for filesystemgroupβ group number to check
π DESCRIPTION π
okay so this function returns the number of blocks used by the superblock β primary or backup β in this group. thatβs the whole vibe.
Currently this will be only <yellow>0</yellow> or <yellow>1</yellow> π no cap.
π¦ SEE ALSO π¦
Kernel file ./fs/ext4/balloc.c is right there in the mix, plus these iconic little references:
ext4_get_group_desc(9)ext4_read_block_bitmap_nowait(9)ext4_has_free_clusters(9)ext4_should_retry_alloc(9)ext4_count_free_clusters(9)ext4_bg_num_gdb(9)ext4_inode_to_goal_block(9)
mwah π this page lives in ./fs/ext4, dated October 2026, and itβs literally the ext4_bg_has_super(9) man page. bye bestie π«Ά
π¦ 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