New option -cut_out

This commit is contained in:
2008-03-09 14:22:14 +00:00
parent 1d489a7297
commit b3540fafb6
7 changed files with 166 additions and 42 deletions

View File

@ -586,6 +586,30 @@ exist, then iso_rr_path gets deleted.
addressing: Its semantics is similar to -add and thus avoids the pitfalls
inherited from cp -r behavior. Its syntax resembles cp, though.
.TP
\fB\-cut_out\fR disk_path byte_offset byte_count iso_rr_path
WARNING: This option is fewly tested.
Especially it is not coordinated with -compare_r and -update_r.
.br
Map a byte interval of a regular disk file into a regular file in the ISO
image.
This may be necessary if the disk file is larger than a single media, or if
it exceeds the traditional limit of 2 GiB - 2 kiB for old operating systems,
or the limit of 4 GiB - 2 kiB for newer ones.
.br
The clumsy remedy for this limit is to backup file pieces and to concatenate
them at restore time. A well tested chopping size is 2047m.
It is permissible to request a higher byte_count than available. The
resulting file will be truncated to the correct size of a final piece.
To request a byte_offset higher than available yields no file in
the ISO image but a SORRY event.
E.g:
.br
-cut_out disk_file 0 2047m iso_rr_part1
.br
-cut_out disk_file 2047m 2047m iso_rr_part2
.br
-cut_out disk_file 4094m 2047m iso_rr_part3
.TP
\fB\-rm\fR iso_rr_path [***]
Delete the given files from the ISO image.
.br