New -check_media option data_to="-" for standard output

This commit is contained in:
2020-09-30 21:07:50 +02:00
parent 56b2d88667
commit 588578f9a8
7 changed files with 103 additions and 46 deletions

View File

@ -9,7 +9,7 @@
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH XORRISO 1 "Version 1.5.3, Sep 11, 2020"
.TH XORRISO 1 "Version 1.5.3, Sep 30, 2020"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
@ -4754,7 +4754,18 @@ gives the number of report list items after which to abort.
Value \-1 means unlimited item number.
.br
\fBdata_to=disk_path\fR
copies the valid blocks to the given file.
copies the valid blocks to the given file, which must support random access
writing, unless disk_path is "\-" which means standard output.
.br
In the latter case, patch_lba0= settings other than "off" yield failure.
Further the usual result messages of \-check_media get redirected to the info
channel. But beware of result messages from other commands. Beware of \-*dev "\-"
which redirect standard output to standard error. Keep the run simple:
.br
xorriso \-indev /dev/sr0 \-check_media data_to=\- \-\- | md5sum
.br
xorriso \-outdev /dev/sr0 \-check_media data_to=\- use=outdev \\
what=disc min_lba=0 max_lba=999999 \-\- | sha256sum
.br
\fBevent=severity\fR
sets the given severity for a problem event which shall be issued at