Changed prescription for safe loading of tray before xorrisofs add-on session
This commit is contained in:
@ -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.1, Nov 01, 2018"
|
||||
.TH XORRISO 1 "Version 1.5.1, Nov 11, 2018"
|
||||
.\" Please adjust this date whenever revising the manpage.
|
||||
.\"
|
||||
.\" Some roff macros, for reference:
|
||||
@ -5820,24 +5820,36 @@ $ xorriso \-as mkisofs prepared_for_iso/tree1 | \\
|
||||
.br
|
||||
xorriso \-as cdrecord \-v dev=/dev/sr0 blank=fast \-multi \-eject \-
|
||||
.br
|
||||
Follow\-up sessions are written like this:
|
||||
.br
|
||||
$ dd if=/dev/sr0 count=1 >/dev/null 2>&1
|
||||
Follow\-up sessions are written like this (the run of dd is only to give demons
|
||||
a chance to spoil it):
|
||||
.br
|
||||
$ m=$(xorriso \-as cdrecord dev=/dev/sr0 \-msinfo)
|
||||
.br
|
||||
$ dd if=/dev/sr0 count=1 >/dev/null 2>&1
|
||||
.br
|
||||
$ xorriso \-as mkisofs \-M /dev/sr0 \-C $m prepared_for_iso/tree2 | \\
|
||||
.br
|
||||
xorriso \-as cdrecord \-v dev=/dev/sr0 \-waiti \-multi \-eject \-
|
||||
.br
|
||||
Always eject the drive tray between sessions. The old sessions
|
||||
get read via /dev/sr0. Its device driver might not be aware
|
||||
of the changed content before it loads the medium again.
|
||||
In this case the previous session would not be loaded and the
|
||||
new session would contain only the newly added files.
|
||||
Always eject the drive tray between sessions.
|
||||
.br
|
||||
For the same reason do not let \fBxorriso\fR \-as cdrecord load the medium,
|
||||
but rather do this manually or by a program that reads from /dev/sr0.
|
||||
The run of xorriso \-as mkisofs will read old sessions via the CD\-ROM
|
||||
driver of /dev/sr0. This driver might not be aware of the changed content
|
||||
as long as the medium is not loaded again. In this case the previous session
|
||||
would not be properly assessed by xorriso and the new session would contain
|
||||
only the newly added files.
|
||||
.br
|
||||
Some systems have not enough patience with automatic tray loading and some
|
||||
demons may interfere with a first CD\-ROM driver read attempt from a freshly
|
||||
loaded medium.
|
||||
.br
|
||||
When loading the tray manually, wait 10 seconds after the drive has stopped
|
||||
blinking.
|
||||
.br
|
||||
A safe automatic way seems to be a separate run of xorriso for loading
|
||||
the tray with proper waiting, and a subsequent run of dd which shall offer
|
||||
itself to any problems caused by demons assessing the changed drive status.
|
||||
If this does not help, insert a run of "sleep 10" between xorriso and dd.
|
||||
.br
|
||||
This example works for multi\-session media only.
|
||||
Add cdrskin option \-\-grow_overwriteable_iso
|
||||
|
Reference in New Issue
Block a user