diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-05-02 11:12:31 -0500 |
---|---|---|
committer | Eric Sandeen <sandeen@redhat.com> | 2017-05-02 11:12:31 -0500 |
commit | ca138928faddcadaf6175b2b3de24560187107b1 (patch) | |
tree | 78c7e57a9ba09af5d9271b6d2452192476a1bc29 | |
parent | 07a3e793053cf97f76c38014999497d708487de7 (diff) | |
download | xfsprogs-dev-ca138928faddcadaf6175b2b3de24560187107b1.tar.gz |
xfs_db.8: document write -d option
The xfs_db write "-d" option allows us to write bad
data with a good CRC, as added in
86769b3 xfs_db: allow recalculating CRCs on invalid metadata
but never documented, so do that now.
[sandeen: split out doc patch]
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
-rw-r--r-- | man/man8/xfs_db.8 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/man/man8/xfs_db.8 b/man/man8/xfs_db.8 index 460d89d0f5..ef7cf843c3 100644 --- a/man/man8/xfs_db.8 +++ b/man/man8/xfs_db.8 @@ -755,7 +755,7 @@ and bits respectively, and their string equivalent reported (but no modifications are made). .TP -.BI "write [\-c] [" "field value" "] ..." +.BI "write [\-c] [\-d] [" "field value" "] ..." Write a value to disk. Specific fields can be set in structures (struct mode), or a block can be set to data values (data mode), @@ -778,6 +778,11 @@ with no arguments gives more information on the allowed commands. .B \-c Skip write verifiers and CRC recalculation; allows invalid data to be written to disk. +.TP 0.4i +.B \-d +Skip write verifiers but perform CRC recalculation. +This allows invalid data to be written to disk to +test detection of invalid data. (This is not possible for some types.) .RE .SH TYPES This section gives the fields in each structure type and their meanings. |