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",
|
||||
"-no-mac-files", "-chrp-boot",
|
||||
"--hardlinks", "--acl", "--xattr", "--xattr-any", "--md5", "--for_backup",
|
||||
"--lfa_flags",
|
||||
"--lfa_flags", "--projid",
|
||||
"--protective-msdos-label", "--boot-catalog-hide", "--no-emul-toc",
|
||||
"--emul-toc", "-disallow_dir_id_ext", "--old-empty",
|
||||
"--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-any Record xattr of any namespace, not only user.",
|
||||
" --lfa_flags Record Linux file attribute flags (chattr)",
|
||||
" --projid Record XFS-style project ids",
|
||||
" --md5 Compute and record MD5 checksums of data files",
|
||||
" --scdbackup_tag PATH NAME With --md5 record a scdbackup checksum tag",
|
||||
" --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);
|
||||
} else if(strcmp(argpt, "--lfa_flags")==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) {
|
||||
Xorriso_option_md5(xorriso, "on", 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);
|
||||
if(xorriso->lfa_flags_default & 8)
|
||||
Xorriso_option_lfa_flags(xorriso, "default:on:no_restore", 0);
|
||||
Xorriso_option_projid(xorriso, "on", 0);
|
||||
|
||||
} else if(strcmp(argpt, "-z")==0 ||
|
||||
strcmp(argpt, "-transparent-compression")==0) {
|
||||
@ -2291,6 +2295,7 @@ not_enough_args:;
|
||||
strcmp(argpt, "--xattr")==0 ||
|
||||
strcmp(argpt, "--xattr-any")==0 ||
|
||||
strcmp(argpt, "--lfa_flags")==0 ||
|
||||
strcmp(argpt, "--projid")==0 ||
|
||||
strcmp(argpt, "--md5")==0 ||
|
||||
strcmp(argpt, "--for_backup")==0) {
|
||||
/* 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
|
||||
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
||||
.\" 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.
|
||||
.\"
|
||||
.\" Some roff macros, for reference:
|
||||
@ -680,7 +680,8 @@ Alias of \-rr_reloc_dir "/.rr_moved"
|
||||
Enable all options which improve backup fidelity:
|
||||
.br
|
||||
\-\-acl, \-\-xattr\-any, \-\-md5,
|
||||
\-\-hardlinks, and possibly \-\-lfa_flags.
|
||||
\-\-hardlinks, \-\-projid,
|
||||
and possibly \-\-lfa_flags.
|
||||
.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
|
||||
@ -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
|
||||
possibly appended mode texts like ":restore_mask=aAcdDijmPsStTux".
|
||||
.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
|
||||
.br
|
||||
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 xorriso(1)
|
||||
.TP
|
||||
ACL, xattr, Linux file attributes
|
||||
ACL, xattr, Linux file attributes, project ids
|
||||
.BR getfacl(1),
|
||||
.BR setfacl(1),
|
||||
.BR getfattr(1),
|
||||
.BR setfattr(1),
|
||||
.BR lsattr(1),
|
||||
.BR chattr(1)
|
||||
.BR chattr(1),
|
||||
.BR ext4(5),
|
||||
.BR xfs_quota(8)
|
||||
.TP
|
||||
MD5 checksums
|
||||
.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"
|
||||
--for_backup
|
||||
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,
|
||||
then make sure that the target operating system and filesystem know
|
||||
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
|
||||
-lfa_flags "restore" with possibly appended mode texts like
|
||||
":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
|
||||
|
||||
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
|
||||
growisofs(1), cdrecord(1), wodim(1), cdrskin(1), xorriso(1)
|
||||
ACL and xattr
|
||||
getfacl(1), setfacl(1), getfattr(1), setfattr(1) lsattr(1),
|
||||
chattr(1)
|
||||
getfacl(1), setfacl(1), getfattr(1), setfattr(1), lsattr(1),
|
||||
chattr(1), ext4(5), xfs_quota(8)
|
||||
MD5 checksums
|
||||
md5sum(1)
|
||||
On FreeBSD some commands differ:
|
||||
@ -2068,7 +2072,7 @@ File: xorrisofs.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: T
|
||||
|