Browse Source

Included -md5 on with option -for_backup

master
Thomas Schmitt 13 years ago
parent
commit
7c4cf26163
  1. 28
      xorriso/xorriso.1
  2. 4
      xorriso/xorriso.c
  3. 2
      xorriso/xorriso_timestamp.h

28
xorriso/xorriso.1

@ -2,7 +2,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 "Aug 15, 2009"
.TH XORRISO 1 "Aug 18, 2009"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" 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.
See also options -getfattr, -setfattr and above paragraph about xattr.
.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
Enable all extra features which help to produce or to restore backups with
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
\fB\-disk_dev_ino\fR "on"|"ino_only"|"off"
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
-disk_dev_ino "on" too.
.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"]
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

4
xorriso/xorriso.c

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

2
xorriso/xorriso_timestamp.h

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

Loading…
Cancel
Save