ZBC(8)

πŸ“¦ version 6.2.0, in nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

πŸ’– NAME πŸ’–

zbc_finish_zone β€” Finish zones of a ZBC or ZAC device. And yes bestie, this is the ZBC(8) page from the System Manager’s Manual, folded in right here so we can get to the good part. πŸ¦‹

✨ SYNOPSIS ✨

zbc_finish_zone [options] device [zone]

🌸 DESCRIPTION 🌸

Okay so zbc_finish_zone is literally here to finish zones on a ZBC or ZAC device β€” aka transition them to the full state. πŸ’…

The device argument has to 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 β€” no cap. 🫢

The zone argument specifies the zone to be finished. 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 finish. If the option -sector is specified, then the zone argument is interpreted as the start sector (512B unit) of the zone to finish. Periodt. ✨

πŸ‘‘ OPTIONS πŸ‘‘

The following options can be specified β€” here we go:

  • -h, --help β€” Display a usage help message and exit. 🫢
  • -v β€” Verbose mode (for debugging problems). πŸ”
  • -sector β€” Interpret the zone argument as the start sector (512B unit) of the zone to finish.
  • -lba β€” Interpret the zone argument as the start LBA of the zone to finish.
  • -all β€” Ignore the zone argument and finish all non empty zones of the device. πŸ”₯

πŸ’œ AUTHOR πŸ’œ

Damien Le Moal <damien.lemoal@wdc.com> β€” iconic. πŸ’–

πŸ¦‹ SEE ALSO πŸ¦‹

blkzone(8) β€” go check that one too, iykyk. 🌈

🌈 AVAILABILITY 🌈

The zbc_finish_zone utility is part of the libzbc library available from https://github.com/westerndigitalcorporation/libzbc. πŸŽ€


πŸ’– Cute sign-off: this is the ZBC(8) page, source/version: System Manager’s Manual, date: not listed in the original footer β€” just the ZBC(8) tag. Bye bestie, slay your zones! πŸ’–

πŸ“¦ where this page comes from