STRUCT ZONED_DISK_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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