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]  [--count=ZC]  [--help]  [--verbose]  [--version]
10       [--zone=ID] DEVICE
11

DESCRIPTION

13       Sends a SCSI RESET WRITE POINTER command to the DEVICE. This command is
14       found in the soon to be released ZBC standard (draft prior to standard:
15       zbc-r05.pdf).
16

OPTIONS

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

EXIT STATUS

50       The  exit  status  of sg_reset_wp is 0 when it is successful. Otherwise
51       see the sg3_utils(8) man page.
52

AUTHORS

54       Written by Douglas Gilbert.
55

REPORTING BUGS

57       Report bugs to <dgilbert at interlog dot com>.
58
60       Copyright © 2014-2018 Douglas Gilbert
61       This software is distributed under a FreeBSD license. There is NO  war‐
62       ranty;  not  even  for MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR‐
63       POSE.
64

SEE ALSO

66       sg_rep_zones,sg_zone(sg3_utils)
67
68
69
70sg3_utils-1.43                     May 2018                     SG_RESET_WP(8)
Impressum