ZBC(8)
π NAME π
This is the ZBC(8) page, bestie. zbc_close_zone β close zones of a ZBC or ZAC device. Thatβs the whole vibe: zone-closing business, and itβs lowkey iconic. β¨
β¨ SYNOPSIS β¨
zbc_close_zone [options] device [zone]
π¦ DESCRIPTION π¦
Okay so zbc_close_zone is used to close implicitly open or explicitly open zones of a ZBC or ZAC device. No cap, thatβs its whole main character job. π
The device argument must be the pathname to the target device block device file (e.g., /dev/sdb), or to the target device SG node file (e.g., /dev/sg3). Pick your pathname, bestie. π«Ά
Old-kernel tea β: on old kernels lacking ZBC and ZAC support, only the device SG node file will be available.
The zone argument specifies the zone to be closed. This argument is ignored if the -all option is used. By default, the zone argument specifies a zone number, starting from 0 for the first zone of the device. If the option -lba is specified, the zone argument is interpreted as the start LBA of the zone to close. If the option -sector is specified, then the zone argument is interpreted as the start sector (512B unit) of the zone to close. So yes, the same argument can mean different things depending on your flags β read the room, bestie. πΈ
π OPTIONS π
You can specify these options, and yes, every single one is here:
-h,--helpβ displays a usage help message and exits. Helpful icon behavior. π-vβ verbose mode, for debugging problems. Your βwhat is going onβ bestie. π₯-sectorβ interprets thezoneargument as the start sector (512Bunit) of the zone to close. Sector-coded. β¨-lbaβ interprets thezoneargument as the start LBA of the zone to close. LBA-coded. π-allβ ignores thezoneargument and closes all open zones of the device. All of them. Periodt. π
πΈ AUTHOR πΈ
Damien Le Moal <damien.lemoal@wdc.com> β author credit, preserved exactly, as it should be. π«Ά
π SEE ALSO π
blkzone(8) β go look, bestie. π
π AVAILABILITY π
The zbc_close_zone utility is part of the libzbc library available from https://github.com/westerndigitalcorporation/libzbc. Link is right there, no cap. π
Thatβs the ZBC(8) page from the System Managerβs Manual β source/version vibes included, and no date listed on this one, bestie. Bye and slay your zones π
β¨
π¦ where this page comes from
- nixos 26.05: libzbc 6.2.0
- nixpkgs unstable: libzbc 6.2.0
- opensuse-leap 16.0: libzbc-tools 6.2.0-160000.2.2 Β· BSD-2-Clause AND LGPL-3.0-or-later
- opensuse-leap 16.0: libzbc-tools 6.2.0-160000.2.2 Β· BSD-2-Clause AND LGPL-3.0-or-later
- opensuse-leap 16.0: libzbc-tools 6.2.0-160000.2.2 Β· BSD-2-Clause AND LGPL-3.0-or-later
- opensuse-leap 16.0: libzbc-tools 6.2.0-160000.2.2 Β· BSD-2-Clause AND LGPL-3.0-or-later
- π the page's license: LGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms