sg_reset_wp --version (return code: 0)
version: 1.04 20151219
sg_reset_wp --help (return code: 0)
Usage: sg_reset_wp [--all] [--help] [--verbose] [--version]
[--zone=ID] DEVICE
where:
--all|-a sets the ALL flag in the cdb
--help|-h print out usage message
--verbose|-v increase verbosity
--version|-V print version string and exit
--zone=ID|-z ID ID is the starting LBA of the zone whose
write pointer is to be reset
Performs a SCSI RESET WRITE POINTER command. ID is decimal by default,
for hex use a leading '0x' or a trailing 'h'. Either the --zone=ID
or --all option needs to be given.