Enabling non-user xattr namespaces with -getfattr and -setfattr
This commit is contained in:
@ -50,7 +50,7 @@
|
||||
@c man .\" First parameter, NAME, should be all caps
|
||||
@c man .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
||||
@c man .\" other parameters are allowed: see man(7), man(1)
|
||||
@c man .TH XORRISO 1 "Version 1.4.9, Oct 10, 2017"
|
||||
@c man .TH XORRISO 1 "Version 1.4.9, Nov 12, 2017"
|
||||
@c man .\" Please adjust this date whenever revising the manpage.
|
||||
@c man .\"
|
||||
@c man .\" Some roff macros, for reference:
|
||||
@ -617,7 +617,7 @@ able to represent them and @command{xorriso} can record and restore them.
|
||||
@*
|
||||
But be aware that pairs with names of non-user namespaces are not necessarily
|
||||
portable between operating systems and not even between filesystems.
|
||||
I.e. only those which begin with "user.", like "user.x" or "user.whatever",
|
||||
Only those which begin with "user.", like "user.x" or "user.whatever",
|
||||
can unconditionally be expected to be appropriate on other machines and disks.
|
||||
Processing of other xattr may need administrator privileges.
|
||||
@*
|
||||
@ -1191,7 +1191,9 @@ Mode "any" processes attributes of all namespaces. This might need adminstrator
|
||||
privileges, even if the owner of the disk file tries to read or write the
|
||||
attributes.
|
||||
@*
|
||||
Note that xattr from namespace "isofs." are never restored to disk.
|
||||
Note that xattr from namespace "isofs." are never read from disk or restored
|
||||
to disk. Further it is not possible to set them via xorriso xattr manipulation
|
||||
commands.
|
||||
@c man .TP
|
||||
@item -md5 "on"|"all"|"off"|"load_check_off"
|
||||
@kindex -md5 controls handling of MD5 sums
|
||||
@ -2124,8 +2126,11 @@ then all user namespace
|
||||
xattr of the given iso_rr_paths get deleted. In case of deletion, value must
|
||||
be an empty text.
|
||||
@*
|
||||
Only names from the user namespace are allowed. I.e. a name has to begin with
|
||||
"user.", like "user.x" or "user.whatever".
|
||||
Which names are permissible depends on the setting of command -xattr.
|
||||
"on" or "user" restricts them to namespace "user". I.e. a name has to look
|
||||
like "user.x" or "user.whatever".
|
||||
@*
|
||||
-xattr setting "any" enables names from all namespaces except "isofs".
|
||||
@*
|
||||
Values and names undergo the normal input processing of @command{xorriso}.
|
||||
See also command -backslash_codes. Other than with command -setfattr_list,
|
||||
@ -2139,9 +2144,12 @@ Like -setfattr but affecting all files below eventual directories.
|
||||
@item -setfattr_list disk_path
|
||||
@kindex -setfattr_list sets xattr in ISO image
|
||||
@cindex xattr, set in ISO image, -setfattr_list
|
||||
Read the output of -getfattr_r or shell command getfattr -Rd and apply it to
|
||||
the iso_rr_paths as given in lines beginning with "# file:". All previously
|
||||
existing user space xattr of the given iso_rr_paths will be deleted.
|
||||
Read the output format of -getfattr_r or shell command getfattr -Rd and apply
|
||||
it to the iso_rr_paths as given in lines beginning with "# file:".
|
||||
All previously existing xattr of the acceptable namespaces will be deleted
|
||||
before the new xattr get attached. The set of acceptable names depends on the
|
||||
setting of command -xattr.
|
||||
@*
|
||||
If disk_path is "-" then lines are read from standard input.
|
||||
@*
|
||||
Since -getfattr and getfattr -Rd strip leading "/" from file paths, the setting
|
||||
@ -2153,8 +2161,7 @@ the pending iso_rr_path. Other input lines must have the form
|
||||
@*
|
||||
name="value"
|
||||
@*
|
||||
Name must be from user namespace. I.e. user.xyz where xyz should consist of
|
||||
printable characters only. The separator "=" is not allowed in names.
|
||||
The separator "=" is not allowed in names.
|
||||
Value may contain any kind of bytes. It must be in quotes. Trailing
|
||||
whitespace after the end quote will be ignored. Non-printables bytes and quotes
|
||||
must be represented as \XYZ by their octal 8-bit code XYZ.
|
||||
@ -2564,8 +2571,9 @@ ACL is given in text form as defined with command -setfacl.
|
||||
E.g.: -exec setfacl u:lisa:rw,u::rw,g::r,o::@minus{},m::rw @minus{}@minus{}
|
||||
@*
|
||||
@item getfattr
|
||||
prints xattr name-value pairs from user namespace
|
||||
to the result channel.
|
||||
prints xattr name-value pairs to the result channel. The choice of namespaces
|
||||
depends on the setting of command -xattr: "on" or "user" restricts it to the
|
||||
namespace "user", "any" only omits namespace "isofs".
|
||||
@*
|
||||
@item get_any_xattr
|
||||
prints xattr name-value pairs from any namespace
|
||||
@ -5031,11 +5039,14 @@ directories.
|
||||
@cindex xattr, show in ISO image, -getfattr
|
||||
Print the xattr of the given files in the ISO image.
|
||||
If a file has no such xattr then noting is printed for it.
|
||||
The choice of namespaces
|
||||
depends on the setting of command -xattr: "on" or "user" restricts it to
|
||||
namespace "user", "any" only omits namespace "isofs".
|
||||
@c man .TP
|
||||
@item -getfattr_r iso_rr_pattern [***]
|
||||
@kindex -getfattr_r shows xattr in ISO image
|
||||
@cindex xattr, show in ISO image, -getfattr_r
|
||||
Like -gefattr but listing recursively the whole file trees underneath eventual
|
||||
Like -gefattr but listing recursively the whole file trees underneath of
|
||||
directories.
|
||||
@c man .TP
|
||||
@item -du iso_rr_pattern [***]
|
||||
|
Reference in New Issue
Block a user