Let -truncate "sbsector" "new" work even if LBA-0-superblock is damaged

This commit is contained in:
2023-02-24 17:28:41 +01:00
parent 6a921c7411
commit b837ff30fc
5 changed files with 132 additions and 77 deletions

View File

@ -2372,6 +2372,10 @@ File: xorriso.info, Node: Writing, Next: SetWrite, Prev: Filter, Up: Command
any case the result may not be smaller than "new". Numbers may
have a unit suffix: "d"=512, "k"=1024, "s"=2048, "m"=1024k,
"g"=1024m.
Normally the volume descriptors at block 16 ff. have to be
readable. Only with entity "lba" or "sbsector" and adjust mode
"new" it is possible to address a session if block 16 ff. yields
no valid volume descriptors.
Examples:
Activate session 4 and enable overwriting of the blocks of younger
sessions:
@ -5710,7 +5714,7 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
* -chown_r sets ownership in ISO image: Manip. (line 47)
* -clone copies ISO directory tree: Insert. (line 195)
* -close controls media closing: SetWrite. (line 505)
* -close_damaged closes damaged track and session: Writing. (line 205)
* -close_damaged closes damaged track and session: Writing. (line 209)
* -close_filter_list bans filter registration: Filter. (line 50)
* -commit writes pending ISO image: Writing. (line 27)
* -commit_eject writes and ejects: Writing. (line 53)
@ -5963,7 +5967,7 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Create, new ISO image, _definition: Methods. (line 7)
* Cylinder alignment, _definition: Bootable. (line 340)
* Cylinder size, _definition: Bootable. (line 325)
* Damaged track and session, close, -close_damaged: Writing. (line 205)
* Damaged track and session, close, -close_damaged: Writing. (line 209)
* DEC Alpha SRM boot sector, production: Bootable. (line 410)
* Delete, from ISO image, -rm: Manip. (line 20)
* Delete, from ISO image, -rm_r: Manip. (line 26)
@ -6265,42 +6269,42 @@ Node: Manip80374
Node: CmdFind90474
Node: Filter110498
Node: Writing115120
Node: SetWrite127375
Node: Bootable158650
Node: Jigdo186531
Node: Charset191534
Node: Exception194863
Node: DialogCtl200992
Node: Inquiry203594
Node: Navigate214852
Node: Verify223559
Node: Restore234708
Node: Emulation246916
Node: Scripting257372
Node: Frontend265155
Node: Examples274781
Node: ExDevices275959
Node: ExCreate276620
Node: ExDialog277920
Node: ExGrowing279191
Node: ExModifying280000
Node: ExBootable280510
Node: ExCharset281065
Node: ExPseudo281961
Node: ExCdrecord282888
Node: ExMkisofs283208
Node: ExGrowisofs285105
Node: ExException286258
Node: ExTime286716
Node: ExIncBackup287174
Node: ExRestore291200
Node: ExRecovery292146
Node: Files292718
Node: Environ294052
Node: Seealso294800
Node: Bugreport295517
Node: Legal296108
Node: CommandIdx297120
Node: ConceptIdx315018
Node: SetWrite127614
Node: Bootable158889
Node: Jigdo186770
Node: Charset191773
Node: Exception195102
Node: DialogCtl201231
Node: Inquiry203833
Node: Navigate215091
Node: Verify223798
Node: Restore234947
Node: Emulation247155
Node: Scripting257611
Node: Frontend265394
Node: Examples275020
Node: ExDevices276198
Node: ExCreate276859
Node: ExDialog278159
Node: ExGrowing279430
Node: ExModifying280239
Node: ExBootable280749
Node: ExCharset281304
Node: ExPseudo282200
Node: ExCdrecord283127
Node: ExMkisofs283447
Node: ExGrowisofs285344
Node: ExException286497
Node: ExTime286955
Node: ExIncBackup287413
Node: ExRestore291439
Node: ExRecovery292385
Node: Files292957
Node: Environ294291
Node: Seealso295039
Node: Bugreport295756
Node: Legal296347
Node: CommandIdx297359
Node: ConceptIdx315257

End Tag Table