Changed prescription for safe loading of tray before xorrisofs add-on session
This commit is contained in:
@ -4882,20 +4882,30 @@ The first session is written like this:
|
||||
$ xorriso -as mkisofs prepared_for_iso/tree1 | \
|
||||
xorriso -as cdrecord -v dev=/dev/sr0 blank=fast -multi -eject -
|
||||
|
||||
Follow-up sessions are written like this:
|
||||
Follow-up sessions are written like this (the run of dd is only to
|
||||
give demons a chance to spoil it):
|
||||
|
||||
$ dd if=/dev/sr0 count=1 >/dev/null 2>&1
|
||||
$ m=$(xorriso -as cdrecord dev=/dev/sr0 -msinfo)
|
||||
$ m=$(xorriso -as cdrecord dev=/dev/sr0 -msinfo)
|
||||
$ dd if=/dev/sr0 count=1 >/dev/null 2>&1
|
||||
$ xorriso -as mkisofs -M /dev/sr0 -C $m prepared_for_iso/tree2 | \
|
||||
xorriso -as cdrecord -v dev=/dev/sr0 -waiti -multi -eject -
|
||||
|
||||
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.
|
||||
For the same reason do not let 'xorriso' -as cdrecord load the medium,
|
||||
but rather do this manually or by a program that reads from /dev/sr0.
|
||||
Always eject the drive tray between sessions.
|
||||
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.
|
||||
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.
|
||||
When loading the tray manually, wait 10 seconds after the drive has
|
||||
stopped blinking.
|
||||
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.
|
||||
|
||||
This example works for multi-session media only. Add cdrskin option
|
||||
--grow_overwriteable_iso to all -as cdrecord runs in order to enable
|
||||
@ -5849,18 +5859,18 @@ Node: ExCharset256742
|
||||
Node: ExPseudo257638
|
||||
Node: ExCdrecord258565
|
||||
Node: ExMkisofs258885
|
||||
Node: ExGrowisofs260242
|
||||
Node: ExException261396
|
||||
Node: ExTime261854
|
||||
Node: ExIncBackup262312
|
||||
Node: ExRestore266338
|
||||
Node: ExRecovery267284
|
||||
Node: Files267856
|
||||
Node: Environ269190
|
||||
Node: Seealso269899
|
||||
Node: Bugreport270616
|
||||
Node: Legal271207
|
||||
Node: CommandIdx272219
|
||||
Node: ConceptIdx289553
|
||||
Node: ExGrowisofs260783
|
||||
Node: ExException261937
|
||||
Node: ExTime262395
|
||||
Node: ExIncBackup262853
|
||||
Node: ExRestore266879
|
||||
Node: ExRecovery267825
|
||||
Node: Files268397
|
||||
Node: Environ269731
|
||||
Node: Seealso270440
|
||||
Node: Bugreport271157
|
||||
Node: Legal271748
|
||||
Node: CommandIdx272760
|
||||
Node: ConceptIdx290094
|
||||
|
||||
End Tag Table
|
||||
|
Reference in New Issue
Block a user