From 5d33c841d698d33d5b6a18cb52083a9acfc50a28 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Thu, 27 Aug 2009 17:55:17 +0000 Subject: [PATCH] Updated helptext about -find actions, new -as mkisofs option --for_backup --- xorriso/xorriso.c | 21 +++++++++++++-------- xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/xorriso/xorriso.c b/xorriso/xorriso.c index d38b484a..ee78a1f7 100644 --- a/xorriso/xorriso.c +++ b/xorriso/xorriso.c @@ -10725,6 +10725,7 @@ int Xorriso_genisofs(struct XorrisO *xorriso, char *whom, " --acl Record eventual ACLs of files", " --xattr Record eventual user space xattr of files", " --md5 Compute and record MD5 checksums of data files", +" --for_backup Use all options which improve backup fidelity", " -V ID, -volid ID Set Volume ID", " -b FILE, -eltorito-boot FILE", " Set El Torito boot image name", @@ -10888,6 +10889,11 @@ int Xorriso_genisofs(struct XorrisO *xorriso, char *whom, Xorriso_option_xattr(xorriso, "on", 0); } else if(strcmp(argv[i], "--md5")==0) { Xorriso_option_md5(xorriso, "on", 0); + } else if(strcmp(argv[i], "--for_backup")==0) { + Xorriso_option_hardlinks(xorriso, "on", 0); + Xorriso_option_acl(xorriso, "on", 0); + Xorriso_option_xattr(xorriso, "on", 0); + Xorriso_option_md5(xorriso, "on", 0); } else if(strcmp(argv[i], "-z")==0 || strcmp(argv[i], "-transparent-compression")==0) { Xorriso_option_zisofs(xorriso, "by_magic=on", 0); @@ -11095,13 +11101,11 @@ not_enough_args:; } else if(strcmp(argv[i], "-output-charset")==0) { i++; /* was already handled in first argument scan */; - } else if(strcmp(argv[i], "--hardlinks")==0) { - /* was already handled in first argument scan */; - } else if(strcmp(argv[i], "--acl")==0) { - /* was already handled in first argument scan */; - } else if(strcmp(argv[i], "--xattr")==0) { - /* was already handled in first argument scan */; - } else if(strcmp(argv[i], "--md5")==0) { + } else if(strcmp(argv[i], "--hardlinks")==0 || + strcmp(argv[i], "--acl")==0 || + strcmp(argv[i], "--xattr")==0 || + strcmp(argv[i], "--md5")==0 || + strcmp(argv[i], "--for_backup")==0) { /* was already handled in first argument scan */; } else if(strcmp(argv[i], "-z")==0 || strcmp(argv[i], "-transparent-compression")==0) { @@ -15734,7 +15738,8 @@ int Xorriso_option_help(struct XorrisO *xorriso, int flag) " chmod, chmod_r, alter_date, alter_date_r, lsdl, compare,", " rm, rm_r, compare, update, report_damage, report_lba,", " getfacl, setfacl, getfattr, setfattr, get_any_xattr,", -" get_md5, check_md5, set_filter, show_stream, find.", +" get_md5, check_md5, make_md5, set_filter, show_stream,", +" find.", " params are their arguments except iso_rr_path.", " -mkdir iso_rr_path [...]", " Create empty directories if they do not exist yet.", diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 8081632f..aaac90c3 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2009.08.25.191543" +#define Xorriso_timestamP "2009.08.27.175608"