Updated documentation of xorriso and xorrisofs about HFS+
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.2.3, Mai 22, 2012"
|
||||
@c man .TH XORRISO 1 "Version 1.2.3, Jun 06, 2012"
|
||||
@c man .\" Please adjust this date whenever revising the manpage.
|
||||
@c man .\"
|
||||
@c man .\" Some roff macros, for reference:
|
||||
@ -1943,7 +1943,7 @@ Like -alter_date but affecting all files below eventual directories.
|
||||
@kindex -hide excludes file names from directory trees
|
||||
@cindex hidden, set in ISO image, -hide
|
||||
Prevent the names of the given files from showing up in the directory trees
|
||||
of ISO 9660 and/or Joliet when the image gets written.
|
||||
of ISO 9660 and/or Joliet and/or HFS+ when the image gets written.
|
||||
The data content of such hidden files will be included in the
|
||||
resulting image, even if they do not show up in any directory.
|
||||
But you will need own means to find nameless data in the image.
|
||||
@ -1952,8 +1952,11 @@ Warning: Data which are hidden from the ISO 9660 tree will not be copied
|
||||
by the write method of modifying.
|
||||
@*
|
||||
Possible values of hide_state are: "iso_rr" for hiding from ISO 9660 tree,
|
||||
"joliet" for Joliet tree, "on" for both trees. "off" means visibility in
|
||||
both directory trees.
|
||||
"joliet" for Joliet tree, "hfsplus" for HFS+, "on" for them all.
|
||||
"off" means visibility in all directory trees.
|
||||
@*
|
||||
These values may be combined.
|
||||
E.g.: joliet:hfsplus
|
||||
@*
|
||||
This command does not apply to the boot catalog.
|
||||
Rather use: -boot_image "any" "cat_hidden=on"
|
||||
@ -2032,12 +2035,31 @@ Matches files which have any xattr other than ACL.
|
||||
@item -has_md5 :
|
||||
Matches data files which have MD5 checksums.
|
||||
@*
|
||||
@item -has_hfs_crtp creator type :
|
||||
Matches files which have the given HFS+ creator and type attached.
|
||||
These are codes of 4 characters which get stored if -hfsplus is
|
||||
enabled. Use a single dash '-' as wildcard that matches any such code.
|
||||
E.g:.
|
||||
@*
|
||||
-has_hfs_crtp YYDN TEXT
|
||||
@*
|
||||
-has_hfs_crtp - -
|
||||
@*
|
||||
@item -has_hfs_bless blessing :
|
||||
Matches files which bear the given HFS+ blessing. It may be one of :
|
||||
"ppc_bootdir", "intel_bootfile", "show_folder", "os9_folder", "osx_folder",
|
||||
"any". See also action set_hfs_bless.
|
||||
@*
|
||||
Note that HFS+ information is not read with loaded images. So above two tests
|
||||
are useful only for listing effective settings before a new image gets written.
|
||||
@*
|
||||
@item -has_filter :
|
||||
Matches files which are filtered by -set_filter.
|
||||
@*
|
||||
@item -hidden hide_state :
|
||||
Matches files which are hidden in "iso_rr" tree, in "joliet" tree,
|
||||
in both trees ("on"), or not hidden in any tree ("off").
|
||||
in "hfsplus" tree, in all trees ("on"), or not hidden in any tree ("off").
|
||||
@*
|
||||
Those which are hidden in some tree match -not -hidden "off".
|
||||
@*
|
||||
@item -prune :
|
||||
@ -2241,6 +2263,44 @@ sets or deletes xattr name value pairs.
|
||||
@*
|
||||
E.g.: -find / -has_xattr -exec setfattr @minus{}@minus{}remove-all '' @minus{}@minus{}
|
||||
@*
|
||||
@item set_hfs_crtp
|
||||
adds, changes, or removes HFS+ creator and type attributes.
|
||||
@*
|
||||
E.g.: -exec set_hfs_crtp YYDN TEXT
|
||||
@*
|
||||
E.g.: -find /my/dir -prune -exec set_hfs_crtp --delete -
|
||||
@*
|
||||
@item set_hfs_bless
|
||||
applies or removes HFS+ blessings. They are roles which can be attributed to
|
||||
up to four directories and a data file:
|
||||
@*
|
||||
"ppc_bootdir", "intel_bootfile", "show_folder", "os9_folder", "osx_folder".
|
||||
@*
|
||||
They may be abbreviated as "p", "i", "s", "9", and "x".
|
||||
@*
|
||||
Each such role can be attributed to at most one file object. "intel_bootfile"
|
||||
is the one that would apply to a data file. All others apply to directories.
|
||||
The -find run will end as soon as the first blessing is issued. The previous
|
||||
bearer of the blessing will lose it then.
|
||||
No file object can bear more than one blessing.
|
||||
@*
|
||||
E.g.: -find /my/blessed/directory -exec set_hfs_bless p
|
||||
@*
|
||||
@item get_hfs_crtp
|
||||
prints the HFS+ creator and type attributes together with the iso_rr_path,
|
||||
if the file has such attributes at all.
|
||||
@*
|
||||
E.g.: -exec get_hfs_crtp
|
||||
@*
|
||||
@item get_hfs_bless
|
||||
prints the HFS+ blessing role and the iso_rr_path, if the file is blessed
|
||||
at all.
|
||||
@*
|
||||
E.g.: -exec get_hfs_bless
|
||||
@*
|
||||
Note that HFS+ information is not read with loaded images. So above two actions
|
||||
are useful only for listing effective settings before a new image gets written.
|
||||
@*
|
||||
@item set_filter
|
||||
applies or removes filters.
|
||||
@*
|
||||
@ -2268,7 +2328,8 @@ E.g.: -exec sort_weight 3 @minus{}@minus{}
|
||||
shows the content stream chain of a data file.
|
||||
@*
|
||||
@item hide
|
||||
brings the file into one of the hide states "on", "iso_rr", "joliet", "off".
|
||||
brings the file into one of the hide states "on", "iso_rr", "joliet",
|
||||
"hfsplus", "off". They may be combined. E.g.: joliet:hfsplus
|
||||
@*
|
||||
E.g.:
|
||||
@*
|
||||
@ -2645,6 +2706,28 @@ If enabled by "on", generate Joliet tree additional to ISO 9660 + Rock Ridge
|
||||
tree.
|
||||
@sp 1
|
||||
@c man .TP
|
||||
@item -hfsplus "on"|"off"
|
||||
@kindex -hfsplus enables production of HFS+ partition
|
||||
@cindex Write, enable HFS+, -hfsplus
|
||||
If enabled by "on", generate a HFS+ filesystem inside the ISO 9660 image
|
||||
and mark it by Apple Partition Map (APM) entries in the System Area,
|
||||
the first 32 KiB of the image.
|
||||
@*
|
||||
This may collide with data submitted by -boot_image system_area=.
|
||||
The first 8 bytes of the System Area get overwritten by
|
||||
@{ 0x45, 0x52, 0x08 0x00, 0xeb, 0x02, 0xff, 0xff @}
|
||||
which can be executed as x86 machine code without negative effects.
|
||||
So if an MBR gets combined with this feature, then its first 8 bytes
|
||||
should contain no essential commands.
|
||||
@*
|
||||
The next blocks of 2 KiB in the System Area will be occupied by APM entries.
|
||||
The first one covers the part of the ISO image before the HFS+ filesystem
|
||||
metadata. The second one marks the range from HFS+ metadata to the end
|
||||
of file content data. If more ISO image data follow, then a third partition
|
||||
entry gets produced. Other features of xorriso might cause the need for
|
||||
more APM entries.
|
||||
@sp 1
|
||||
@c man .TP
|
||||
@item -rockridge "on"|"off"
|
||||
@kindex -rockridge disables production of Rock Ridge info
|
||||
@cindex Write, disable Rock Ridge, -rockridge
|
||||
@ -3123,7 +3206,7 @@ and their designated fate.
|
||||
@*
|
||||
@sp 1
|
||||
|
||||
A @strong{bootspec} is a word of the form name=valuei. It is used to describe
|
||||
A @strong{bootspec} is a word of the form name=value. It is used to describe
|
||||
the parameters of a boot image by an El Torito record or a MBR.
|
||||
The names "dir", "bin_path", "efi_path" lead to El Torito bootable images.
|
||||
Name "system_area" activates a given file as MBR.
|
||||
@ -3157,7 +3240,7 @@ a file with the same name.
|
||||
The catalog lists the boot images and is read by the boot facility to choose
|
||||
one of the boot images. But it is not necessary that it appears in the
|
||||
directory tree at all. One may hide it in all trees by @strong{cat_hidden=on}.
|
||||
Other possible values are "iso_rr", "joliet", and the default "off".
|
||||
Other possible values are "iso_rr", "joliet", "hfsplus", and the default "off".
|
||||
@*
|
||||
@strong{bin_path=} depicts a boot image file, a binary program which is to be
|
||||
started by the hardware boot facility (e.g. the BIOS) at boot time.
|
||||
@ -3299,6 +3382,10 @@ declarations made by mips_path= or mipsel_path=. They also disable production
|
||||
of SUN Disk Label.
|
||||
This removes the ban on production of other boot blocks.
|
||||
@*
|
||||
@cindex HFS+ serial number
|
||||
@strong{hfsplus_serial=}hexstring sets a string of 16 digits "0" to "9"
|
||||
and letters "a" to "f", which will be used as unique serial number of
|
||||
an emerging HFS+ filesystem.
|
||||
@end table
|
||||
@*
|
||||
@table @asis
|
||||
@ -3942,8 +4029,9 @@ The output format resembles shell command ls -ln.
|
||||
File type 'e' indicates the El Torito boot catalog.
|
||||
@*
|
||||
If the file has non-trivial ACL, then a '+' is appended to the permission info.
|
||||
If the file is hidden, then 'I' for "iso_rr", 'J' for "joliet", resp. 'H' for
|
||||
"on" gets appended. Together with ACL it is 'i', 'j', resp. 'h'.
|
||||
If the file is hidden, then 'I' for "iso_rr", 'J' for "joliet", 'A'
|
||||
for "hfsplus", resp. 'H' for multiple hiding gets appended.
|
||||
Together with ACL it is 'i', 'j', 'a', resp. 'h'.
|
||||
@c man .TP
|
||||
@item -lsdl iso_rr_pattern [***]
|
||||
@kindex -lsdl lists files in ISO image
|
||||
@ -5872,6 +5960,7 @@ same license.
|
||||
@section Credits
|
||||
@command{xorriso} is in part based on work by Vreixo Formoso who provides
|
||||
libisofs together with Mario Danic who also leads the libburnia team.
|
||||
Vladimir Serbinenko contributed the HFS+ filesystem code and related knowledge.
|
||||
Thanks to Andy Polyakov who invented emulated growing,
|
||||
to Derek Foreman and Ben Jansens who once founded libburn.
|
||||
@*
|
||||
|
Reference in New Issue
Block a user