ZBC(8)
π NAME π
Okay bestie, this is the zbc_write_zone page from the ZBC(8) manual in the System Manager's Manual β and itβs literally here to write sectors to a zone of a ZBC or ZAC device. β¨
β¨ SYNOPSIS β¨
zbc_write_zone [options] device zone_number IO_size
π DESCRIPTION π
zbc_write_zone is used to write sectors to a zone of a ZBC or ZAC device. By default, the target zone will be written starting from the first sector of the zone for conventional zones and from the zone write pointer position for sequential zones. The default behavior is to write up to the last sector of the target zone. periodt.
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). On old kernels lacking ZBC and ZAC support, only the device SG node file will be available. iykyk.
π OPTIONS π
The following options can be specified, bestie:
-h,--helpβ Display a usage help message and exit. Slay, no notes. π-vβ Verbose mode (for debugging problems). yep, itβs the βtell me everythingβ mode. π-dioβ Use direct IO operations. β‘-vio numβ Use vectored I/Os withnumbuffers ofIO_sizebytes, resulting in an actual I/O size ofnum x IO_sizebytes. π-nio numβ Limit the number of I/O executed tonum. π-p numβ Set the byte values to write tonum. If this option is not used, zeroes are written to the target zone. π«§-f fileβ Write the content offileto the target zone. π-loopβ If a file is specified with the option-f, repeatedly write the content of the file to the zone until the zone is full. π-ofst ofstβ Write the target zone starting from the sector offsetofstinstead of from the start of the zone. This option should be used only with conventional zones. π¨
Bestie, that -ofst caveat is not decorative: only conventional zones. Donβt try to make it fetch happen on sequential zones. π
π«Ά AUTHOR π«Ά
Damien Le Moal <damien.lemoal@wdc.com> β icon behavior. π
π₯ SEE ALSO π₯
sg_dd(8)β go check it out, bestie. π
π AVAILABILITY π
The zbc_write_zone utility is part of the libzbc library available from https://github.com/westerndigitalcorporation/libzbc. π
source/version/date sign-off: the original footer is just ZBC(8), so thatβs the whole manual-page stamp β byeee, bestie! π«Άπ
π¦ 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