New -as mkisofs option --projid
This commit is contained in:
parent
32bfa95973
commit
9610de83af
@ -641,7 +641,7 @@ int Xorriso_genisofs_count_args(struct XorrisO *xorriso, int argc, char **argv,
|
|||||||
"-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", "--xattr-any", "--md5", "--for_backup",
|
"--hardlinks", "--acl", "--xattr", "--xattr-any", "--md5", "--for_backup",
|
||||||
"--lfa_flags",
|
"--lfa_flags", "--projid",
|
||||||
"--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",
|
||||||
@ -993,6 +993,7 @@ int Xorriso_genisofs_help(struct XorrisO *xorriso, int flag)
|
|||||||
" --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.",
|
" --xattr-any Record xattr of any namespace, not only user.",
|
||||||
" --lfa_flags Record Linux file attribute flags (chattr)",
|
" --lfa_flags Record Linux file attribute flags (chattr)",
|
||||||
|
" --projid Record XFS-style project ids",
|
||||||
" --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",
|
||||||
@ -1849,6 +1850,8 @@ int Xorriso_genisofs(struct XorrisO *xorriso, char *whom,
|
|||||||
Xorriso_option_xattr(xorriso, "any", 0);
|
Xorriso_option_xattr(xorriso, "any", 0);
|
||||||
} else if(strcmp(argpt, "--lfa_flags")==0) {
|
} else if(strcmp(argpt, "--lfa_flags")==0) {
|
||||||
Xorriso_option_lfa_flags(xorriso, "default:on:no_restore", 0);
|
Xorriso_option_lfa_flags(xorriso, "default:on:no_restore", 0);
|
||||||
|
} else if(strcmp(argpt, "--projid")==0) {
|
||||||
|
Xorriso_option_projid(xorriso, "on", 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) {
|
||||||
@ -1865,6 +1868,7 @@ int Xorriso_genisofs(struct XorrisO *xorriso, char *whom,
|
|||||||
Xorriso_option_md5(xorriso, "on", 0);
|
Xorriso_option_md5(xorriso, "on", 0);
|
||||||
if(xorriso->lfa_flags_default & 8)
|
if(xorriso->lfa_flags_default & 8)
|
||||||
Xorriso_option_lfa_flags(xorriso, "default:on:no_restore", 0);
|
Xorriso_option_lfa_flags(xorriso, "default:on:no_restore", 0);
|
||||||
|
Xorriso_option_projid(xorriso, "on", 0);
|
||||||
|
|
||||||
} else if(strcmp(argpt, "-z")==0 ||
|
} else if(strcmp(argpt, "-z")==0 ||
|
||||||
strcmp(argpt, "-transparent-compression")==0) {
|
strcmp(argpt, "-transparent-compression")==0) {
|
||||||
@ -2291,6 +2295,7 @@ not_enough_args:;
|
|||||||
strcmp(argpt, "--xattr")==0 ||
|
strcmp(argpt, "--xattr")==0 ||
|
||||||
strcmp(argpt, "--xattr-any")==0 ||
|
strcmp(argpt, "--xattr-any")==0 ||
|
||||||
strcmp(argpt, "--lfa_flags")==0 ||
|
strcmp(argpt, "--lfa_flags")==0 ||
|
||||||
|
strcmp(argpt, "--projid")==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 "2024.11.03.190355"
|
#define Xorriso_timestamP "2024.11.03.191323"
|
||||||
|
@ -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.5.7, Oct 06, 2024"
|
.TH XORRISOFS 1 "Version 1.5.7, Nov 01, 2024"
|
||||||
.\" 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:
|
||||||
@ -680,7 +680,8 @@ Alias of \-rr_reloc_dir "/.rr_moved"
|
|||||||
Enable all options which improve backup fidelity:
|
Enable all options which improve backup fidelity:
|
||||||
.br
|
.br
|
||||||
\-\-acl, \-\-xattr\-any, \-\-md5,
|
\-\-acl, \-\-xattr\-any, \-\-md5,
|
||||||
\-\-hardlinks, and possibly \-\-lfa_flags.
|
\-\-hardlinks, \-\-projid,
|
||||||
|
and possibly \-\-lfa_flags.
|
||||||
.br
|
.br
|
||||||
If you later restore a backup with xattr from non\-user namespaces, then make
|
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
|
sure that the target operating system and filesystem know what these attributes
|
||||||
@ -726,6 +727,10 @@ gets ended and files get restored to disk. If restoring of the attributes is
|
|||||||
desired in this case, execute xorriso command \-lfa_flags "restore" with
|
desired in this case, execute xorriso command \-lfa_flags "restore" with
|
||||||
possibly appended mode texts like ":restore_mask=aAcdDijmPsStTux".
|
possibly appended mode texts like ":restore_mask=aAcdDijmPsStTux".
|
||||||
.TP
|
.TP
|
||||||
|
\fB--projid\fR
|
||||||
|
Enable recording and loading of XFS\-style project ids as described in
|
||||||
|
man 5 xfs_quota or man 5 ext4.
|
||||||
|
.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
|
||||||
@ -2301,13 +2306,15 @@ Programs which burn sessions to optical media
|
|||||||
.BR cdrskin(1),
|
.BR cdrskin(1),
|
||||||
.BR xorriso(1)
|
.BR xorriso(1)
|
||||||
.TP
|
.TP
|
||||||
ACL, xattr, Linux file attributes
|
ACL, xattr, Linux file attributes, project ids
|
||||||
.BR getfacl(1),
|
.BR getfacl(1),
|
||||||
.BR setfacl(1),
|
.BR setfacl(1),
|
||||||
.BR getfattr(1),
|
.BR getfattr(1),
|
||||||
.BR setfattr(1),
|
.BR setfattr(1),
|
||||||
.BR lsattr(1),
|
.BR lsattr(1),
|
||||||
.BR chattr(1)
|
.BR chattr(1),
|
||||||
|
.BR ext4(5),
|
||||||
|
.BR xfs_quota(8)
|
||||||
.TP
|
.TP
|
||||||
MD5 checksums
|
MD5 checksums
|
||||||
.BR md5sum(1)
|
.BR md5sum(1)
|
||||||
|
@ -617,7 +617,8 @@ File: xorrisofs.info, Node: SetExtras, Next: SetHide, Prev: SetCompl, Up: Op
|
|||||||
Alias of -rr_reloc_dir "/.rr_moved"
|
Alias of -rr_reloc_dir "/.rr_moved"
|
||||||
--for_backup
|
--for_backup
|
||||||
Enable all options which improve backup fidelity:
|
Enable all options which improve backup fidelity:
|
||||||
--acl, --xattr-any, --md5, --hardlinks, and possibly --lfa_flags.
|
--acl, --xattr-any, --md5, --hardlinks, --projid, and possibly
|
||||||
|
--lfa_flags.
|
||||||
If you later restore a backup with xattr from non-user namespaces,
|
If you later restore a backup with xattr from non-user namespaces,
|
||||||
then make sure that the target operating system and filesystem know
|
then make sure that the target operating system and filesystem know
|
||||||
what these attributes mean. Possibly you will need administrator
|
what these attributes mean. Possibly you will need administrator
|
||||||
@ -657,6 +658,9 @@ File: xorrisofs.info, Node: SetExtras, Next: SetHide, Prev: SetCompl, Up: Op
|
|||||||
of the attributes is desired in this case, execute xorriso command
|
of the attributes is desired in this case, execute xorriso command
|
||||||
-lfa_flags "restore" with possibly appended mode texts like
|
-lfa_flags "restore" with possibly appended mode texts like
|
||||||
":restore_mask=aAcdDijmPsStTux".
|
":restore_mask=aAcdDijmPsStTux".
|
||||||
|
--projid
|
||||||
|
Enable recording and loading of XFS-style project ids as described
|
||||||
|
in man 5 xfs_quota or man 5 ext4.
|
||||||
--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
|
||||||
@ -2005,8 +2009,8 @@ Other programs which produce ISO 9660 images
|
|||||||
Programs which burn sessions to optical media
|
Programs which burn sessions to optical media
|
||||||
growisofs(1), cdrecord(1), wodim(1), cdrskin(1), xorriso(1)
|
growisofs(1), cdrecord(1), wodim(1), cdrskin(1), xorriso(1)
|
||||||
ACL and xattr
|
ACL and xattr
|
||||||
getfacl(1), setfacl(1), getfattr(1), setfattr(1) lsattr(1),
|
getfacl(1), setfacl(1), getfattr(1), setfattr(1), lsattr(1),
|
||||||
chattr(1)
|
chattr(1), ext4(5), xfs_quota(8)
|
||||||
MD5 checksums
|
MD5 checksums
|
||||||
md5sum(1)
|
md5sum(1)
|
||||||
On FreeBSD some commands differ:
|
On FreeBSD some commands differ:
|
||||||
@ -2068,7 +2072,7 @@ File: xorrisofs.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: T
|
|||||||
|