STRUCT ZONED_DISK_INFO(9)
πΈ NAME πΈ
okay so bestie, this is struct zoned_disk_info(9) from the Kernel API Manual, and it's literally all about the specific properties of a ZBC SCSI device. slay.
β¨ SYNOPSIS β¨
struct zoned_disk_info {
u32 nr_zones;
u32 zone_blocks;
};
π Members π
nr_zonesβ number of zones. lowkey essential.zone_blocksβ number of logical blocks per zone. no cap.
π¦ Description π¦
This data structure holds the ZBC SCSI device properties that are retrieved twice: a first time before the gendisk capacity is known and a second time after the gendisk capacity is known. the way it gets fetched twice? iconic. literally first before the gendisk capacity is known, then again after the gendisk capacity is known. iykyk. π
π SEE ALSO π
- Kernel file
./drivers/scsi/sd.h
mwah π xoxo, your Unix bestie β source/version + date: ./drivers/scsi, 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