|
|
|
@ -1239,10 +1239,22 @@ int isoburn_igopt_get_scdbackup_tag(struct isoburn_imgen_opts *o,
|
|
|
|
|
else: unspecified type
|
|
|
|
|
@since 0.6.4 |
|
|
|
|
1= MIPS Big Endian Volume Header |
|
|
|
|
>>> EXPERIMENTAL: |
|
|
|
|
Submit MIPS boot image files as El Torito Boot image to |
|
|
|
|
iso_image_set_boot_image() , iso_image_add_boot_image(). |
|
|
|
|
No El Torito info will be produced with system area type 1. |
|
|
|
|
Submit up to 15 MIPS Big Endian boot files by |
|
|
|
|
iso_image_add_mips_boot_file() of libisofs. |
|
|
|
|
This will overwrite the first 512 bytes of |
|
|
|
|
the submitted data. |
|
|
|
|
2= DEC Boot Block for MIPS Little Endian |
|
|
|
|
The first boot file submitted by |
|
|
|
|
iso_image_add_mips_boot_file() will be activated. |
|
|
|
|
This will overwrite the first 512 bytes of |
|
|
|
|
the submitted data. |
|
|
|
|
@since 0.6.6 |
|
|
|
|
3= SUN Disk Label for SUN SPARC |
|
|
|
|
Submit up to 7 SPARC boot images by |
|
|
|
|
isoburn_igopt_set_partition_img() for partition |
|
|
|
|
numbers 2 to 8. |
|
|
|
|
This will overwrite the first 512 bytes of |
|
|
|
|
the submitted data. |
|
|
|
|
|
|
|
|
|
@return 1 success, 0 no data to get, <0 failure |
|
|
|
|
*/ |
|
|
|
@ -1375,23 +1387,31 @@ int isoburn_igopt_get_tail_blocks(struct isoburn_imgen_opts *opts,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** Cause an arbitrary data file to be appended to the ISO image and to be
|
|
|
|
|
described by a partition table entry in an MBR at the start of the |
|
|
|
|
ISO image. |
|
|
|
|
described by a partition table entry in an MBR or SUN Disk Label at the |
|
|
|
|
start of the ISO image. |
|
|
|
|
The partition entry will bear the size of the image file rounded up to |
|
|
|
|
the next multiple of 2048 bytes. |
|
|
|
|
MBR or SUN Disk Label are selected by isoburn_igopt_set_system_area() |
|
|
|
|
system area type: 0 selects MBR partition table. 3 selects a SUN partition |
|
|
|
|
table with 320 kB start alignment. |
|
|
|
|
@since 0.6.4 |
|
|
|
|
@param opts |
|
|
|
|
The option set to be manipulated. |
|
|
|
|
@param partition_number |
|
|
|
|
Depicts the partition table entry which shall describe the |
|
|
|
|
appended image. Range 1 to 4. |
|
|
|
|
1 will cause the whole ISO image to be unclaimable space before |
|
|
|
|
partition 1. |
|
|
|
|
@param image_path |
|
|
|
|
appended image. |
|
|
|
|
Range with MBR: 1 to 4. 1 will cause the whole ISO image to be |
|
|
|
|
unclaimable space before partition 1. |
|
|
|
|
@since 0.6.6 |
|
|
|
|
Range with SUN Disk Label: 2 to 8. |
|
|
|
|
@param image_path
|
|
|
|
|
File address in the local file system. |
|
|
|
|
With SUN Disk Label: an empty name causes the partition to become |
|
|
|
|
a copy of the next lower partition. |
|
|
|
|
@param image_type |
|
|
|
|
The partition type. E.g. FAT12 = 0x01 , FAT16 = 0x06, |
|
|
|
|
The MBR partition type. E.g. FAT12 = 0x01 , FAT16 = 0x06, |
|
|
|
|
Linux Native Partition = 0x83. See fdisk command L. |
|
|
|
|
This parameter is ignored with SUN Disk Label. |
|
|
|
|
@return |
|
|
|
|
<=0 = error, 1 = success |
|
|
|
|
*/ |
|
|
|
@ -1410,7 +1430,7 @@ int isoburn_igopt_set_partition_img(struct isoburn_imgen_opts *opts,
|
|
|
|
|
image_paths[] of the same index is not NULL. |
|
|
|
|
@param image_paths |
|
|
|
|
Its elements get filled with either NULL or a pointer to a string |
|
|
|
|
with a file address, |
|
|
|
|
with a file address resp. an empty text. |
|
|
|
|
@return |
|
|
|
|
<0 = error |
|
|
|
|
0 = no partition image set |
|
|
|
@ -1422,6 +1442,34 @@ int isoburn_igopt_get_partition_img(struct isoburn_imgen_opts *opts,
|
|
|
|
|
char *image_paths[]); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** Set a name for the system area. This setting is ignored unless system area
|
|
|
|
|
type 3 "SUN Disk Label" is in effect by iso_write_opts_set_system_area(). |
|
|
|
|
In this case it will replace the default text at the start of the image: |
|
|
|
|
"CD-ROM Disc with Sun sparc boot created by libisofs" |
|
|
|
|
@since 0.6.6 |
|
|
|
|
@param opts |
|
|
|
|
The option set to be manipulated. |
|
|
|
|
@param label |
|
|
|
|
A text of up to 128 characters. |
|
|
|
|
@return |
|
|
|
|
<=0 = error, 1 = success |
|
|
|
|
*/
|
|
|
|
|
int isoburn_igopt_set_disc_label(struct isoburn_imgen_opts *opts, char *label); |
|
|
|
|
|
|
|
|
|
/** Inquire the current setting made by isoburn_igopt_set_disc_label().
|
|
|
|
|
@since 0.6.6 |
|
|
|
|
@param opts |
|
|
|
|
The option set to be inquired. |
|
|
|
|
@param label |
|
|
|
|
Returns a pointer to the currently set label string. |
|
|
|
|
Do not alter this string. |
|
|
|
|
Use only as long as the opts object exists. |
|
|
|
|
@return |
|
|
|
|
<=0 = error, 1 = success |
|
|
|
|
*/ |
|
|
|
|
int isoburn_igopt_get_disc_label(struct isoburn_imgen_opts *opts, |
|
|
|
|
char **label); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* ----------------------------------------------------------------------- */ |
|
|
|
|
/* End of Options for image generation */ |
|
|
|
|