1SG_RESET_WP(8)                     SG3_UTILS                    SG_RESET_WP(8)
2
3
4

NAME

6       sg_reset_wp - send SCSI RESET WRITE POINTER command
7

SYNOPSIS

9       sg_reset_wp [--all] [--help] [--verbose] [--version] [--zone=ID] DEVICE
10

DESCRIPTION

12       Sends a SCSI RESET WRITE POINTER command to the DEVICE. This command is
13       found in the ZBC draft standard revision 4c (zbc-r04c.pdf).
14

OPTIONS

16       Arguments to long options are mandatory for short options as well.
17
18       -a, --all
19              sets the ALL field in the cdb. This causes a reset write pointer
20              operation  of all open zones and full zones. When this option is
21              given then the --zone=ID option is ignored. Either  this  option
22              or the --zone=ID option is required.
23
24       -h, --help
25              output the usage message then exit.
26
27       -v, --verbose
28              increase the level of verbosity, (i.e. debug output).
29
30       -V, --version
31              print the version string and then exit.
32
33       -z, --zone=ID
34              where  ID  is  placed in the cdb's ZONE ID field. A zone id is a
35              zone start logical block address  (LBA).  This  causes  a  reset
36              write  pointer  operation  on the zone identified by the ZONE ID
37              field. The default value is 0. Either this option or  the  --all
38              option  is required.  ID is assumed to be in decimal unless pre‐
39              fixed with '0x' or has a trailing 'h' which  indicate  hexadeci‐
40              mal.
41

EXIT STATUS

43       The  exit  status  of sg_reset_wp is 0 when it is successful. Otherwise
44       see the sg3_utils(8) man page.
45

AUTHORS

47       Written by Douglas Gilbert.
48

REPORTING BUGS

50       Report bugs to <dgilbert at interlog dot com>.
51
53       Copyright © 2014-2015 Douglas Gilbert
54       This software is distributed under a FreeBSD license. There is NO  war‐
55       ranty;  not  even  for MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR‐
56       POSE.
57

SEE ALSO

59       sg_rep_zones,sg_zone(sg3_utils)
60
61
62
63sg3_utils-1.42                   November 2015                  SG_RESET_WP(8)
Impressum