New -as mkisofs option --xattr-any
This commit is contained in:
parent
cbc5dbf496
commit
761ff8fc06
@ -617,7 +617,7 @@ int Xorriso_genisofs_count_args(struct XorrisO *xorriso, int argc, char **argv,
|
|||||||
"-omit-version-number", "-rational-rock", "-rock", "-translation-table",
|
"-omit-version-number", "-rational-rock", "-rock", "-translation-table",
|
||||||
"-untranslated-filenames", "-verbose", "-version", "-g", "-h",
|
"-untranslated-filenames", "-verbose", "-version", "-g", "-h",
|
||||||
"-no-mac-files", "-chrp-boot",
|
"-no-mac-files", "-chrp-boot",
|
||||||
"--hardlinks", "--acl", "--xattr", "--md5", "--for_backup",
|
"--hardlinks", "--acl", "--xattr", "--xattr-any", "--md5", "--for_backup",
|
||||||
"--protective-msdos-label", "--boot-catalog-hide", "--no-emul-toc",
|
"--protective-msdos-label", "--boot-catalog-hide", "--no-emul-toc",
|
||||||
"--emul-toc", "-disallow_dir_id_ext", "--old-empty",
|
"--emul-toc", "-disallow_dir_id_ext", "--old-empty",
|
||||||
"--old-root-no-md5", "--old-root-devno", "--old-root-no-ino",
|
"--old-root-no-md5", "--old-root-devno", "--old-root-no-ino",
|
||||||
@ -830,6 +830,7 @@ int Xorriso_genisofs_help(struct XorrisO *xorriso, int flag)
|
|||||||
" --hardlinks Record eventual hard link relations of files",
|
" --hardlinks Record eventual hard link relations of files",
|
||||||
" --acl Record eventual ACLs of files",
|
" --acl Record eventual ACLs of files",
|
||||||
" --xattr Record eventual user space xattr of files",
|
" --xattr Record eventual user space xattr of files",
|
||||||
|
" --xattr-any Record xattr of any namespace, not only user.",
|
||||||
" --md5 Compute and record MD5 checksums of data files",
|
" --md5 Compute and record MD5 checksums of data files",
|
||||||
" --scdbackup_tag PATH NAME With --md5 record a scdbackup checksum tag",
|
" --scdbackup_tag PATH NAME With --md5 record a scdbackup checksum tag",
|
||||||
" --for_backup Use all options which improve backup fidelity",
|
" --for_backup Use all options which improve backup fidelity",
|
||||||
@ -1552,6 +1553,8 @@ int Xorriso_genisofs(struct XorrisO *xorriso, char *whom,
|
|||||||
Xorriso_option_acl(xorriso, "on", 0);
|
Xorriso_option_acl(xorriso, "on", 0);
|
||||||
} else if(strcmp(argpt, "--xattr")==0) {
|
} else if(strcmp(argpt, "--xattr")==0) {
|
||||||
Xorriso_option_xattr(xorriso, "on", 0);
|
Xorriso_option_xattr(xorriso, "on", 0);
|
||||||
|
} else if(strcmp(argpt, "--xattr-any")==0) {
|
||||||
|
Xorriso_option_xattr(xorriso, "any", 0);
|
||||||
} else if(strcmp(argpt, "--md5")==0) {
|
} else if(strcmp(argpt, "--md5")==0) {
|
||||||
Xorriso_option_md5(xorriso, "on", 0);
|
Xorriso_option_md5(xorriso, "on", 0);
|
||||||
} else if(strcmp(argpt, "--scdbackup_tag")==0) {
|
} else if(strcmp(argpt, "--scdbackup_tag")==0) {
|
||||||
@ -1982,6 +1985,7 @@ not_enough_args:;
|
|||||||
} else if(strcmp(argpt, "--hardlinks")==0 ||
|
} else if(strcmp(argpt, "--hardlinks")==0 ||
|
||||||
strcmp(argpt, "--acl")==0 ||
|
strcmp(argpt, "--acl")==0 ||
|
||||||
strcmp(argpt, "--xattr")==0 ||
|
strcmp(argpt, "--xattr")==0 ||
|
||||||
|
strcmp(argpt, "--xattr-any")==0 ||
|
||||||
strcmp(argpt, "--md5")==0 ||
|
strcmp(argpt, "--md5")==0 ||
|
||||||
strcmp(argpt, "--for_backup")==0) {
|
strcmp(argpt, "--for_backup")==0) {
|
||||||
/* was already handled in first argument scan */;
|
/* was already handled in first argument scan */;
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2017.10.23.100749"
|
#define Xorriso_timestamP "2017.10.23.101135"
|
||||||
|
@ -9,7 +9,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 XORRISOFS 1 "Version 1.4.9, Sep 16, 2017"
|
.TH XORRISOFS 1 "Version 1.4.9, Oct 10, 2017"
|
||||||
.\" 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:
|
||||||
@ -630,9 +630,19 @@ This option has no effect if option \-D is present.
|
|||||||
Alias of \-rr_reloc_dir "/.rr_moved"
|
Alias of \-rr_reloc_dir "/.rr_moved"
|
||||||
.TP
|
.TP
|
||||||
\fB--for_backup\fR
|
\fB--for_backup\fR
|
||||||
Enable options which improve backup fidelity:
|
Enable all options which improve backup fidelity:
|
||||||
\-\-acl, \-\-xattr, \-\-md5,
|
.br
|
||||||
|
\-\-acl, \-\-xattr\-any, \-\-md5,
|
||||||
\-\-hardlinks.
|
\-\-hardlinks.
|
||||||
|
.br
|
||||||
|
If you later restore a backup with xattr from non\-user namespaces, then make
|
||||||
|
sure that the target operating system and filesystem know what these attributes
|
||||||
|
mean. Possibly you will need administrator privileges to record or restore
|
||||||
|
such attributes. At recording time, xorriso will try to tolerate missing
|
||||||
|
privileges and just record what is readable.
|
||||||
|
.br
|
||||||
|
Option \-xattr after option \-for_backup excludes non\-user attributes
|
||||||
|
from being recorded.
|
||||||
.TP
|
.TP
|
||||||
\fB--acl\fR
|
\fB--acl\fR
|
||||||
.br
|
.br
|
||||||
@ -649,6 +659,12 @@ man getextattr and man 9 extattr, respectively).
|
|||||||
They will not be in effect with mounted ISO images. But xorriso can
|
They will not be in effect with mounted ISO images. But xorriso can
|
||||||
restore them on the same systems when extracting files from the ISO image.
|
restore them on the same systems when extracting files from the ISO image.
|
||||||
.TP
|
.TP
|
||||||
|
\fB--xattr-any\fR
|
||||||
|
.br
|
||||||
|
Enable recording and loading of GNU/Linux or FreeBSD extended attributes in
|
||||||
|
all namespaces. This might need adminstrator privileges, even if the owner
|
||||||
|
of the disk file tries to read the attributes.
|
||||||
|
.TP
|
||||||
\fB--md5\fR
|
\fB--md5\fR
|
||||||
.br
|
.br
|
||||||
Enable recording of MD5 checksums for the overall ISO image and for each
|
Enable recording of MD5 checksums for the overall ISO image and for each
|
||||||
|
@ -580,8 +580,16 @@ File: xorrisofs.info, Node: SetExtras, Next: SetHide, Prev: SetCompl, Up: Op
|
|||||||
-hide-rr-moved
|
-hide-rr-moved
|
||||||
Alias of -rr_reloc_dir "/.rr_moved"
|
Alias of -rr_reloc_dir "/.rr_moved"
|
||||||
--for_backup
|
--for_backup
|
||||||
Enable options which improve backup fidelity: --acl, --xattr,
|
Enable all options which improve backup fidelity:
|
||||||
--md5, --hardlinks.
|
--acl, --xattr-any, --md5, --hardlinks.
|
||||||
|
If you later restore a backup with xattr from non-user namespaces,
|
||||||
|
then make sure that the target operating system and filesystem know
|
||||||
|
what these attributes mean. Possibly you will need administrator
|
||||||
|
privileges to record or restore such attributes. At recording
|
||||||
|
time, xorriso will try to tolerate missing privileges and just
|
||||||
|
record what is readable.
|
||||||
|
Option -xattr after option -for_backup excludes non-user attributes
|
||||||
|
from being recorded.
|
||||||
--acl
|
--acl
|
||||||
|
|
||||||
Enable recording and loading of ACLs from GNU/Linux or FreeBSD (see
|
Enable recording and loading of ACLs from GNU/Linux or FreeBSD (see
|
||||||
@ -595,6 +603,12 @@ File: xorrisofs.info, Node: SetExtras, Next: SetHide, Prev: SetCompl, Up: Op
|
|||||||
getextattr and man 9 extattr, respectively). They will not be in
|
getextattr and man 9 extattr, respectively). They will not be in
|
||||||
effect with mounted ISO images. But xorriso can restore them on
|
effect with mounted ISO images. But xorriso can restore them on
|
||||||
the same systems when extracting files from the ISO image.
|
the same systems when extracting files from the ISO image.
|
||||||
|
--xattr-any
|
||||||
|
|
||||||
|
Enable recording and loading of GNU/Linux or FreeBSD extended
|
||||||
|
attributes in all namespaces. This might need adminstrator
|
||||||
|
privileges, even if the owner of the disk file tries to read the
|
||||||
|
attributes.
|
||||||
--md5
|
--md5
|
||||||
|
|
||||||
Enable recording of MD5 checksums for the overall ISO image and for
|
Enable recording of MD5 checksums for the overall ISO image and for
|
||||||
@ -1907,7 +1921,7 @@ File: xorrisofs.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: T
|
|||||||
|