# phpman > man > SG_RESET_WP(8)

[SG_RESET_WP(8)](https://www.chedong.com/phpMan.php/man/SGRESETWP/8/markdown)                                SG3_UTILS                               [SG_RESET_WP(8)](https://www.chedong.com/phpMan.php/man/SGRESETWP/8/markdown)



## NAME
       sg_reset_wp - send SCSI RESET WRITE POINTER command

## SYNOPSIS
       **sg**___**reset**___**wp** [_--all_] [_--count=ZC_] [_--help_] [_--verbose_] [_--version_] [_--zone=ID_] _DEVICE_

## DESCRIPTION
       Sends  a SCSI RESET WRITE POINTER command to the _DEVICE_. This command is found in the soon to
       be released ZBC standard (draft prior to standard: zbc-r05.pdf).

## OPTIONS
       Arguments to long options are mandatory for short options as well.

### -a --all
              sets the ALL field in the cdb. This causes a reset write pointer operation of all open
              zones  and full zones. When this option is given then the _--zone=ID_ option is ignored.
              Either this option or the _--zone=ID_ option is required.

### -C --count
              ZC is placed in the Zone Count field in the cdb of the  RESET  WRITE  POINTER  command
              supported by this utility. ZC should be a value from 0 to 65535 (0xffff) inclusive.

### -h --help
              output the usage message then exit.

### -v --verbose
              increase the level of verbosity, (i.e. debug output).

### -V --version
              print the version string and then exit.

### -z --zone
              where _ID_ is placed in the cdb's ZONE ID field. A zone id is a zone start logical block
              address (LBA). This causes a reset write pointer operation on the zone  identified  by
              the  ZONE  ID field. The default value is 0. Either this option or the _--all_ option is
              required.  _ID_ is assumed to be in decimal unless prefixed with '0x' or has a  trailing
              'h' which indicate hexadecimal.

## EXIT STATUS
       The exit status of sg_reset_wp is 0 when it is successful. Otherwise see the [sg3_utils(8)](https://www.chedong.com/phpMan.php/man/sg3utils/8/markdown) man
       page.

## AUTHORS
       Written by Douglas Gilbert.

## REPORTING BUGS
       Report bugs to <dgilbert at interlog dot com>.

## COPYRIGHT
       Copyright © 2014-2018 Douglas Gilbert
       This software is distributed under a FreeBSD license. There is NO warranty; not even for MER‐
       CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

## SEE ALSO
       **sg**___**rep**___**zones,sg**___**zone(sg3**___**utils)**



sg3_utils-1.43                                May 2018                                [SG_RESET_WP(8)](https://www.chedong.com/phpMan.php/man/SGRESETWP/8/markdown)
