Included -md5 on with option -for_backup

This commit is contained in:
Thomas Schmitt 2009-08-18 19:09:15 +00:00
parent 1a17a0b120
commit 7e9cf98fca
3 changed files with 21 additions and 13 deletions

View File

@ -2,7 +2,7 @@
.\" First parameter, NAME, should be all caps .\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1) .\" other parameters are allowed: see man(7), man(1)
.TH XORRISO 1 "Aug 15, 2009" .TH XORRISO 1 "Aug 18, 2009"
.\" Please adjust this date whenever revising the manpage. .\" Please adjust this date whenever revising the manpage.
.\" .\"
.\" Some roff macros, for reference: .\" Some roff macros, for reference:
@ -727,10 +727,25 @@ Enable or disable processing of xattr attributes in user namespace.
If enabled, then xorriso will handle xattr similar to ACL. If enabled, then xorriso will handle xattr similar to ACL.
See also options -getfattr, -setfattr and above paragraph about xattr. See also options -getfattr, -setfattr and above paragraph about xattr.
.TP .TP
\fB\-md5\fR "on"|"off"
Enable or disable processing of MD5 checksums for the overall session and for
each single data file. If enabled then images get loaded only if eventual
checksums tags of superblock and directory tree match properly. The MD5
checksums of data files and whole session get loaded from the image if there
are any.
.br
At image generation time they are computed for each file which gets its data
written into the new session. The checksums of files which have their data
in older sessions get copied into the new session. Superblock, tree and whole
session get a checksum tag each.
.br
Checksums can be exploited via options -check_md5, -check_md5_r, via find
actions get_md5, check_md5, and via -check_media.
.TP
\fB\-for_backup\fR \fB\-for_backup\fR
Enable all extra features which help to produce or to restore backups with Enable all extra features which help to produce or to restore backups with
highest fidelity of file properties. highest fidelity of file properties.
Currently this is a shortcut for: -hardlinks on -acl on -xattr on . Currently this is a shortcut for: -hardlinks on -acl on -xattr on -md5 on.
.TP .TP
\fB\-disk_dev_ino\fR "on"|"ino_only"|"off" \fB\-disk_dev_ino\fR "on"|"ino_only"|"off"
Enable or disable processing of recorded file identification numbers Enable or disable processing of recorded file identification numbers
@ -752,15 +767,6 @@ same filesystems. Use this if mode "on" always sees all files changed.
The speed advantage appears only if the loaded session was produced with The speed advantage appears only if the loaded session was produced with
-disk_dev_ino "on" too. -disk_dev_ino "on" too.
.TP .TP
\fB\-md5\fR "on"|"off"
Enable or disable processing of MD5 checksums for the overall session and for
each single data file. If enabled then MD5 checksums get loaded from the image
if there are any. At image generation time they are computed for each file
which gets its data written into the new session. The checksums of files which
have their data in older sessions get copied into the new session.
Checksums can be exploited via options -check_md5, -check_md5_r, via find
actions get_md5, check_md5, and via -check_media.
.TP
\fB\-rom_toc_scan\fR "on"|"off"[:"emul_on"|"emul_off"] \fB\-rom_toc_scan\fR "on"|"off"[:"emul_on"|"emul_off"]
Read-only drives do not tell the actual media type but show any media as Read-only drives do not tell the actual media type but show any media as
ROM (e.g. as DVD-ROM). The session history of MMC multi-session media might ROM (e.g. as DVD-ROM). The session history of MMC multi-session media might

View File

@ -15478,7 +15478,7 @@ int Xorriso_option_help(struct XorrisO *xorriso, int flag)
" -xattr \"on\"|\"off\"", " -xattr \"on\"|\"off\"",
" Enable resp. disable reading and writing of xattr.", " Enable resp. disable reading and writing of xattr.",
" -for_backup", " -for_backup",
" Shortcut for: -hardlinks on -acl on -xattr on", " Shortcut for: -hardlinks on -acl on -xattr on -md5 on",
" -disk_dev_ino \"on\"|\"ino_only\"|\"off\"", " -disk_dev_ino \"on\"|\"ino_only\"|\"off\"",
" Enable resp. disable recording of disk file dev_t and ino_t", " Enable resp. disable recording of disk file dev_t and ino_t",
" and their use in file comparison.", " and their use in file comparison.",
@ -19079,6 +19079,8 @@ next_command:;
ret= Xorriso_option_acl(xorriso, "on", 0); ret= Xorriso_option_acl(xorriso, "on", 0);
if(ret > 0) if(ret > 0)
ret= Xorriso_option_xattr(xorriso, "on", 0); ret= Xorriso_option_xattr(xorriso, "on", 0);
if(ret > 0)
ret= Xorriso_option_md5(xorriso, "on", 0);
} else if(strcmp(cmd,"format")==0) { } else if(strcmp(cmd,"format")==0) {
(*idx)++; (*idx)++;

View File

@ -1 +1 @@
#define Xorriso_timestamP "2009.08.18.173453" #define Xorriso_timestamP "2009.08.18.191013"