New bootspec alpha_boot=, new -as mkisofs option -alpha-boot

This commit is contained in:
Thomas Schmitt 2015-02-28 14:31:04 +00:00
parent d8e02bcfa8
commit a5651748a6
12 changed files with 226 additions and 105 deletions

View File

@ -626,6 +626,7 @@ int Xorriso_genisofs_count_args(struct XorrisO *xorriso, int argc, char **argv,
"-volid", "-old-exclude", "-volid", "-old-exclude",
"-alpha-boot", "-hppa-cmdline", "-hppa-kernel-32", "-hppa-kernel-64", "-alpha-boot", "-hppa-cmdline", "-hppa-kernel-32", "-hppa-kernel-64",
"-hppa-bootloader", "-hppa-ramdisk", "-mips-boot", "-mipsel-boot", "-hppa-bootloader", "-hppa-ramdisk", "-mips-boot", "-mipsel-boot",
"-alpha-boot",
"-jigdo-jigdo", "-jigdo-template", "-jigdo-min-file-size", "-jigdo-jigdo", "-jigdo-template", "-jigdo-min-file-size",
"-jigdo-force-md5", "-jigdo-exclude", "-jigdo-map", "-md5-list", "-jigdo-force-md5", "-jigdo-exclude", "-jigdo-map", "-md5-list",
"-jigdo-template-compress", "-jigdo-template-compress",
@ -861,6 +862,7 @@ int Xorriso_genisofs_help(struct XorrisO *xorriso, int flag)
" -hppa-bootloader FILE Set hppa boot loader file name (relative to image root)", " -hppa-bootloader FILE Set hppa boot loader file name (relative to image root)",
" -hppa-ramdisk FILE Set hppa ramdisk file name (relative to image root)", " -hppa-ramdisk FILE Set hppa ramdisk file name (relative to image root)",
" -hppa-hdrversion NUMBER Set hppa PALO header version to 4 or 5", " -hppa-hdrversion NUMBER Set hppa PALO header version to 4 or 5",
" -alpha-boot FILE Set alpha boot image name (relative to image root)",
" --grub2-sparc-core FILE Set path of core file for disk label patching", " --grub2-sparc-core FILE Set path of core file for disk label patching",
" -efi-boot-part DISKFILE|--efi-boot-image", " -efi-boot-part DISKFILE|--efi-boot-image",
" Set data source for EFI System Partition", " Set data source for EFI System Partition",
@ -1797,7 +1799,8 @@ not_enough_args:;
strcmp(argpt, "-partition_cyl_align") == 0 || strcmp(argpt, "-partition_cyl_align") == 0 ||
strcmp(argpt, "-isohybrid-mbr") == 0 || strcmp(argpt, "-isohybrid-mbr") == 0 ||
strcmp(argpt, "--grub2-mbr") == 0 || strcmp(argpt, "--grub2-mbr") == 0 ||
strncmp(argpt, "-hppa-", 6) == 0) { strncmp(argpt, "-hppa-", 6) == 0 ||
strcmp(argpt, "-alpha-boot") == 0) {
if(i+1>=argc) if(i+1>=argc)
goto not_enough_args; goto not_enough_args;
delay_opt_list[delay_opt_count++]= i; delay_opt_list[delay_opt_count++]= i;
@ -2452,6 +2455,16 @@ problem_handler_2:;
if(ret <= 0) if(ret <= 0)
goto problem_handler_boot; goto problem_handler_boot;
} else if(strcmp(argpt, "-alpha-boot") == 0) {
if(i + 1 >= argc)
goto not_enough_args;
i++;
sprintf(sfe, "-as mkisofs %s %s", argpt, argv[i]);
ret= Xorriso_coordinate_system_area(xorriso, 6, 0, sfe, 0);
if(ret <= 0)
goto ex;
ret= Xorriso_set_alpha_boot(xorriso, argv[i], 0);
} else if(strcmp(argpt, "-hfs-bless") == 0) { } else if(strcmp(argpt, "-hfs-bless") == 0) {
static char *bless_arg_data[6]= { static char *bless_arg_data[6]= {
"/", "-disk_path", "", "-exec", "set_hfs_bless", "p"}; "/", "-disk_path", "", "-exec", "set_hfs_bless", "p"};

View File

@ -561,7 +561,8 @@ int Xorriso_boot_status_non_mbr(struct XorrisO *xorriso, IsoImage *image,
Xorriso_status_result(xorriso, filter, fp, flag & 2); Xorriso_status_result(xorriso, filter, fp, flag & 2);
return(0); return(0);
} }
if(sa_type != 1 && sa_type != 2 && sa_type != 4 && sa_type != 5) if(sa_type != 1 && sa_type != 2 && sa_type != 4 && sa_type != 5 &&
sa_type != 6)
return(0); return(0);
if(sa_type == 1 || sa_type == 2) { if(sa_type == 1 || sa_type == 2) {
@ -578,8 +579,7 @@ int Xorriso_boot_status_non_mbr(struct XorrisO *xorriso, IsoImage *image,
} }
} }
return(num_boots); return(num_boots);
} } else if(sa_type == 4 || sa_type == 5) {
if(sa_type == 4 || sa_type == 5) {
ret= iso_image_get_hppa_palo(image, &cmdline, &bootloader, &kernel_32, ret= iso_image_get_hppa_palo(image, &cmdline, &bootloader, &kernel_32,
&kernel_64, &ramdisk); &kernel_64, &ramdisk);
if(ret == 1) { if(ret == 1) {
@ -592,6 +592,15 @@ int Xorriso_boot_status_non_mbr(struct XorrisO *xorriso, IsoImage *image,
Xorriso_status_hppa(xorriso, "hdrversion", num, filter, fp, 0); Xorriso_status_hppa(xorriso, "hdrversion", num, filter, fp, 0);
} }
return(0); return(0);
} else if(sa_type == 6) {
ret= iso_image_get_alpha_boot(image, &bootloader);
if (ret == 1 && bootloader != NULL) {
sprintf(line, "-boot_image any alpha_boot=");
Text_shellsafe(bootloader, line, 1);
strcat(line, "\n");
Xorriso_status_result(xorriso, filter, fp, flag & 2);
}
return(0);
} }
return(0); return(0);
} }
@ -1292,6 +1301,32 @@ int Xorriso_set_hppa_boot_parm(struct XorrisO *xorriso, char *text, char *what,
} }
/* @param flag bit0= Give up DEC Alpha boot parameters
*/
int Xorriso_set_alpha_boot(struct XorrisO *xorriso, char *path, int flag)
{
int ret;
IsoImage *image;
ret= Xorriso_get_volume(xorriso, &image, 0);
if(ret <= 0)
return(ret);
if(flag & 1) {
/* Give up boot parameters */
iso_image_set_alpha_boot(image, NULL, 1);
return(1);
}
ret= iso_image_set_alpha_boot(image, path, 0);
if (ret < 0) {
Xorriso_report_iso_error(xorriso, "", ret,
"Error when adding DEC Alpha boot loader",
0, "FAILURE", 1);
return(0);
}
return(1);
}
/* @param flag bit0= do not set xorriso->system_area_options, just check /* @param flag bit0= do not set xorriso->system_area_options, just check
bit1= only check for grub2_mbr <-> isolinux partition_table bit1= only check for grub2_mbr <-> isolinux partition_table
*/ */
@ -1299,9 +1334,11 @@ int Xorriso_coordinate_system_area(struct XorrisO *xorriso, int sa_type,
int options, char *cmd, int flag) int options, char *cmd, int flag)
{ {
int old_type, old_options, new_options; int old_type, old_options, new_options;
static char *type_names[6] = { static char *type_names[7] = {
"MBR", "MIPS Big Endian Volume Header", "MIPS Little Endian Boot Block", "MBR", "MIPS Big Endian Volume Header", "MIPS Little Endian Boot Block",
"SUN Disk Label", "HP-PA PALO v4", "HP-PA PALO v5"}; "SUN Disk Label", "HP-PA PALO v4", "HP-PA PALO v5",
"DEC Alpha SRM Boot Block"};
static int num_names = 7;
old_type= (xorriso->system_area_options & 0xfc) >> 2; old_type= (xorriso->system_area_options & 0xfc) >> 2;
old_options= xorriso->system_area_options & 0x3c03; old_options= xorriso->system_area_options & 0x3c03;
@ -1315,7 +1352,8 @@ int Xorriso_coordinate_system_area(struct XorrisO *xorriso, int sa_type,
(old_type != sa_type || (old_options != 0 && old_options != new_options))){ (old_type != sa_type || (old_options != 0 && old_options != new_options))){
reject:; reject:;
sprintf(xorriso->info_text, "%s : First sector already occupied by %s", sprintf(xorriso->info_text, "%s : First sector already occupied by %s",
cmd, old_type < 6 ? type_names[old_type] : "other boot facility"); cmd, old_type < num_names ?
type_names[old_type] : "other boot facility");
if(old_type == 0 && (old_options & 2)) if(old_type == 0 && (old_options & 2))
strcat(xorriso->info_text, " for ISOLINUX isohybrid"); strcat(xorriso->info_text, " for ISOLINUX isohybrid");
else if (old_type == 0 && (xorriso->system_area_options & (1 << 14))) { else if (old_type == 0 && (xorriso->system_area_options & (1 << 14))) {
@ -1850,6 +1888,15 @@ static int Xorriso_scan_report_lines(struct XorrisO *xorriso,
sprintf(buf, "-boot_image any hppa_bootloader="); sprintf(buf, "-boot_image any hppa_bootloader=");
Text_shellsafe(textpt, buf, 1); Text_shellsafe(textpt, buf, 1);
} else if(strcmp(name, "DEC Alpha ldr path :") == 0) {
if(mkisofs)
sprintf(buf, "-alpha-boot ");
else
sprintf(buf, "-boot_image any alpha_boot=");
Text_shellsafe(textpt, buf, 1);
/* >>> what to do if "DEC Alpha ldr adr :" without path ? */;
} }
if(buf[0]) if(buf[0])

View File

@ -866,10 +866,12 @@ treatment_patch:;
} else if(strcmp(treatpt, "mips_discard") == 0 || } else if(strcmp(treatpt, "mips_discard") == 0 ||
strcmp(treatpt, "mipsel_discard") == 0 || strcmp(treatpt, "mipsel_discard") == 0 ||
strcmp(treatpt, "sparc_discard") == 0 || strcmp(treatpt, "sparc_discard") == 0 ||
strcmp(treatpt, "hppa_discard") == 0) { strcmp(treatpt, "hppa_discard") == 0 ||
strcmp(treatpt, "alpha_discard") == 0) {
xorriso->system_area_options&= ~0xfc; /* system area type 0 */ xorriso->system_area_options&= ~0xfc; /* system area type 0 */
Xorriso_add_mips_boot_file(xorriso, "", 1); /* give up MIPS boot files */ Xorriso_add_mips_boot_file(xorriso, "", 1); /* give up MIPS boot files */
Xorriso_set_hppa_boot_parm(xorriso, "", "", 1); /* give up HP-PA files */ Xorriso_set_hppa_boot_parm(xorriso, "", "", 1); /* give up HP-PA files */
Xorriso_set_alpha_boot(xorriso, "", 1); /* give up DEC Alpha loader */
} else if(strncmp(treatpt, "sparc_label=", 12) == 0) { } else if(strncmp(treatpt, "sparc_label=", 12) == 0) {
sprintf(eff_path, "-boot_image %s sparc_label=", formpt); sprintf(eff_path, "-boot_image %s sparc_label=", formpt);
@ -909,6 +911,13 @@ treatment_patch:;
parm[parm_len]= 0; parm[parm_len]= 0;
ret= Xorriso_set_hppa_boot_parm(xorriso, eqpt + 1, parm, 0); ret= Xorriso_set_hppa_boot_parm(xorriso, eqpt + 1, parm, 0);
} else if(strncmp(treatpt, "alpha_boot=", 11) == 0) {
sprintf(eff_path, "-boot_image %s %s", formpt, treatpt);
ret= Xorriso_coordinate_system_area(xorriso, 6, 0, eff_path, 0);
if(ret <= 0)
goto ex;
ret = Xorriso_set_alpha_boot(xorriso, treatpt + 11, 0);
} else if(strncmp(treatpt, "boot_info_table=", 16)==0) { } else if(strncmp(treatpt, "boot_info_table=", 16)==0) {
if(strcmp(treatpt + 16, "off") == 0) if(strcmp(treatpt + 16, "off") == 0)
xorriso->patch_isolinux_image= (xorriso->patch_isolinux_image & ~3) | 0; xorriso->patch_isolinux_image= (xorriso->patch_isolinux_image & ~3) | 0;

View File

@ -1747,7 +1747,8 @@ int Xorriso_option_help(struct XorrisO *xorriso, int flag)
" |\"sparc_label=\"|\"grub2_sparc_core=\"|\"sparc_discard\"", " |\"sparc_label=\"|\"grub2_sparc_core=\"|\"sparc_discard\"",
" |\"hppa_cmdline=\"|\"hppa_bootloader=\"|\"hppa_kernel_32=\"", " |\"hppa_cmdline=\"|\"hppa_bootloader=\"|\"hppa_kernel_32=\"",
" |\"hppa_kernel_64=\"|\"hppa_ramdisk=\"|\"hppa_hdrversion=\"", " |\"hppa_kernel_64=\"|\"hppa_ramdisk=\"|\"hppa_hdrversion=\"",
" |\"hppa_discard\"|\"hfsplus_serial=\"|\"hfsplus_block_size=\"", " |\"hppa_discard\"|\"alpha_boot=\"|\"alpha_discard\"",
" |\"hfsplus_serial=\"|\"hfsplus_block_size=\"",
" |\"apm_block_size=\"|\"show_status\"", " |\"apm_block_size=\"|\"show_status\"",
" Whether to discard or keep an exiting El Torito boot image.", " Whether to discard or keep an exiting El Torito boot image.",
" ISOLINUX can be made bootable by dir=/ or dir=/isolinux", " ISOLINUX can be made bootable by dir=/ or dir=/isolinux",
@ -1762,7 +1763,8 @@ int Xorriso_option_help(struct XorrisO *xorriso, int flag)
" mips_path= adds Big Endian MIPS boot files. mipsel_path=", " mips_path= adds Big Endian MIPS boot files. mipsel_path=",
" sets one Little Endian MIPS boot file. sparc_label=", " sets one Little Endian MIPS boot file. sparc_label=",
" activates SUN Disk Label. hppa_* is for HP PA-RISC via PALO.", " activates SUN Disk Label. hppa_* is for HP PA-RISC via PALO.",
" All four are mutually exclusive and exclusive to production", " alpha_boot= is for DEC Alpha SRM. MIPS, SUN, HP, and Alpha",
" are mutually exclusive and exclusive to production",
" of MBR and to booting via EFI from USB stick.", " of MBR and to booting via EFI from USB stick.",
" -append_partition partition_number type_code disk_path", " -append_partition partition_number type_code disk_path",
" Append a prepared filesystem image after the end of the", " Append a prepared filesystem image after the end of the",

View File

@ -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 XORRISO 1 "Version 1.3.9, Feb 06, 2015" .TH XORRISO 1 "Version 1.3.9, Feb 28, 2015"
.\" 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:
@ -2920,8 +2920,11 @@ There are booting mechanisms which do not use an El Torito record but rather
start at the first bytes of the image: PC\-BIOS MBR or EFI GPT for start at the first bytes of the image: PC\-BIOS MBR or EFI GPT for
hard\-disk\-like devices, hard\-disk\-like devices,
APM partition entries for Macs which expect HFS+ boot images, APM partition entries for Macs which expect HFS+ boot images,
MIPS Volume Header for old SGI computers, DEC Boot Block for old DECstation, MIPS Volume Header for old SGI computers,
SUN Disk Label for SPARC machines, HP\-PA boot sector for HP PA\-RISC machines. DEC Boot Block for old MIPS DECstation,
SUN Disk Label for SPARC machines,
HP\-PA boot sector for HP PA\-RISC machines,
DEC Alpha SRM boot sector for old DEC Alpha machines.
.br .br
.TP .TP
\fB\-boot_image\fR "any"|"isolinux"|"grub" \fB\-boot_image\fR "any"|"isolinux"|"grub"
@ -3236,8 +3239,15 @@ RAM disk file.
and version 4. and version 4.
For the appropriate value see in PALO source code: PALOHDRVERSION. For the appropriate value see in PALO source code: PALOHDRVERSION.
.br .br
\fBmips_discard\fR, \fBsparc_discard\fR, and \fBhppa_discard\fR \fBalpha_boot=\fRiso_rr_path declares a data file in the image to be the
revoke any boot file declarations made for mips, mipsel, sparc resp. hppa. DEC Alpha SRM Secondary Bootloader and causes production of a boot sector
which points to it.
This is mutually exclusive with production of other boot blocks like MBR.
.br
\fBmips_discard\fR, \fBsparc_discard\fR, \fBhppa_discard\fR,
\fBalpha_discard\fR
revoke any boot file declarations made for mips, mipsel, sparc, hppa,
resp. alpha.
This removes the ban on production of other boot blocks. This removes the ban on production of other boot blocks.
.br .br
\fBhfsplus_serial=\fRhexstring sets a string of 16 digits "0" to "9" \fBhfsplus_serial=\fRhexstring sets a string of 16 digits "0" to "9"

View File

@ -2582,8 +2582,9 @@ There are booting mechanisms which do not use an El Torito record but
rather start at the first bytes of the image: PC-BIOS MBR or EFI GPT for rather start at the first bytes of the image: PC-BIOS MBR or EFI GPT for
hard-disk-like devices, APM partition entries for Macs which expect hard-disk-like devices, APM partition entries for Macs which expect
HFS+ boot images, MIPS Volume Header for old SGI computers, DEC Boot HFS+ boot images, MIPS Volume Header for old SGI computers, DEC Boot
Block for old DECstation, SUN Disk Label for SPARC machines, HP-PA boot Block for old MIPS DECstation, SUN Disk Label for SPARC machines, HP-PA
sector for HP PA-RISC machines. boot sector for HP PA-RISC machines, DEC Alpha SRM boot sector for old
DEC Alpha machines.
-boot_image "any"|"isolinux"|"grub" -boot_image "any"|"isolinux"|"grub"
"discard"|"keep"|"patch"|"show_status"|bootspec|"next" "discard"|"keep"|"patch"|"show_status"|bootspec|"next"
@ -2838,9 +2839,14 @@ sector for HP PA-RISC machines.
*hppa_hdrversion=*number chooses between PALO header version 5 *hppa_hdrversion=*number chooses between PALO header version 5
(default) and version 4. For the appropriate value see in PALO (default) and version 4. For the appropriate value see in PALO
source code: PALOHDRVERSION. source code: PALOHDRVERSION.
*mips_discard*, *sparc_discard*, and *hppa_discard* revoke any *alpha_boot=*iso_rr_path declares a data file in the image to be
boot file declarations made for mips, mipsel, sparc resp. hppa. the DEC Alpha SRM Secondary Bootloader and causes production of a
This removes the ban on production of other boot blocks. boot sector which points to it. This is mutually exclusive with
production of other boot blocks like MBR.
*mips_discard*, *sparc_discard*, *hppa_discard*, *alpha_discard*
revoke any boot file declarations made for mips, mipsel, sparc,
hppa, resp. alpha. This removes the ban on production of other
boot blocks.
*hfsplus_serial=*hexstring sets a string of 16 digits "0" to "9" *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 and letters "a" to "f", which will be used as unique serial number
of an emerging HFS+ filesystem. of an emerging HFS+ filesystem.
@ -5056,7 +5062,7 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
* -alter_date sets timestamps in ISO image: Manip. (line 154) * -alter_date sets timestamps in ISO image: Manip. (line 154)
* -alter_date_r sets timestamps in ISO image: Manip. (line 187) * -alter_date_r sets timestamps in ISO image: Manip. (line 187)
* -append_partition adds arbitrary file after image end: Bootable. * -append_partition adds arbitrary file after image end: Bootable.
(line 296) (line 302)
* -application_id sets application id: SetWrite. (line 196) * -application_id sets application id: SetWrite. (line 196)
* -application_use sets application use field: SetWrite. (line 262) * -application_use sets application use field: SetWrite. (line 262)
* -as emulates mkisofs or cdrecord: Emulation. (line 13) * -as emulates mkisofs or cdrecord: Emulation. (line 13)
@ -5066,7 +5072,7 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
* -ban_stdio_write demands real drive: Loading. (line 278) * -ban_stdio_write demands real drive: Loading. (line 278)
* -biblio_file sets biblio file name: SetWrite. (line 244) * -biblio_file sets biblio file name: SetWrite. (line 244)
* -blank erases media: Writing. (line 61) * -blank erases media: Writing. (line 61)
* -boot_image controls bootability: Bootable. (line 26) * -boot_image controls bootability: Bootable. (line 27)
* -calm_drive reduces drive activity: Loading. (line 267) * -calm_drive reduces drive activity: Loading. (line 267)
* -cd sets working directory in ISO: Navigate. (line 7) * -cd sets working directory in ISO: Navigate. (line 7)
* -cdx sets working directory on disk: Navigate. (line 16) * -cdx sets working directory on disk: Navigate. (line 16)
@ -5294,11 +5300,11 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* ACL, set in ISO image, -setfacl_r: Manip. (line 105) * ACL, set in ISO image, -setfacl_r: Manip. (line 105)
* ACL, show in ISO image, -getfacl: Navigate. (line 70) * ACL, show in ISO image, -getfacl: Navigate. (line 70)
* ACL, show in ISO image, -getfacl_r: Navigate. (line 77) * ACL, show in ISO image, -getfacl_r: Navigate. (line 77)
* APM block size: Bootable. (line 287) * APM block size: Bootable. (line 293)
* APM, _definition: Extras. (line 41) * APM, _definition: Extras. (line 41)
* Appendable media, _definition: Media. (line 38) * Appendable media, _definition: Media. (line 38)
* Appended Filesystem Image, -append_partition: Bootable. (line 296) * Appended Filesystem Image, -append_partition: Bootable. (line 302)
* Appended partition, in MBR or GPT: Bootable. (line 184) * Appended partition, in MBR or GPT: Bootable. (line 185)
* Automatic execution order, of arguments, -x: ArgSort. (line 16) * Automatic execution order, of arguments, -x: ArgSort. (line 16)
* Backslash Interpretation, _definition: Processing. (line 52) * Backslash Interpretation, _definition: Processing. (line 52)
* Backup, enable fast incremental, -disk_dev_ino: Loading. (line 217) * Backup, enable fast incremental, -disk_dev_ino: Loading. (line 217)
@ -5306,7 +5312,7 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Backup, scdbackup checksum tag, -scdbackup: Emulation. (line 179) * Backup, scdbackup checksum tag, -scdbackup: Emulation. (line 179)
* Blank media, _definition: Media. (line 29) * Blank media, _definition: Media. (line 29)
* Blind growing, _definition: Methods. (line 40) * Blind growing, _definition: Methods. (line 40)
* Bootability, control, -boot_image: Bootable. (line 26) * Bootability, control, -boot_image: Bootable. (line 27)
* Bugs, reporting: Bugreport. (line 6) * Bugs, reporting: Bugreport. (line 6)
* cdrecord, Emulation: Emulation. (line 118) * cdrecord, Emulation: Emulation. (line 118)
* Character Set, _definition: Charset. (line 6) * Character Set, _definition: Charset. (line 6)
@ -5315,14 +5321,15 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Character Set, for output, -out_charset: SetWrite. (line 276) * Character Set, for output, -out_charset: SetWrite. (line 276)
* Character set, learn from image, -auto_charset: Loading. (line 122) * Character set, learn from image, -auto_charset: Loading. (line 122)
* Character Set, of terminal, -local_charset: Charset. (line 58) * Character Set, of terminal, -local_charset: Charset. (line 58)
* CHRP partition, _definition: Bootable. (line 189) * CHRP partition, _definition: Bootable. (line 190)
* Closed media, _definition: Media. (line 43) * Closed media, _definition: Media. (line 43)
* Comment, #: Scripting. (line 173) * Comment, #: Scripting. (line 173)
* Control, signal handling, -signal_handling: Exception. (line 69) * Control, signal handling, -signal_handling: Exception. (line 69)
* Create, new ISO image, _definition: Methods. (line 6) * Create, new ISO image, _definition: Methods. (line 6)
* Cylinder alignment, _definition: Bootable. (line 229) * Cylinder alignment, _definition: Bootable. (line 230)
* Cylinder size, _definition: Bootable. (line 218) * Cylinder size, _definition: Bootable. (line 219)
* Damaged track and session, close, -close_damaged: Writing. (line 170) * Damaged track and session, close, -close_damaged: Writing. (line 170)
* DEC Alpha SRM boot sector, production: Bootable. (line 279)
* Delete, from ISO image, -rm: Manip. (line 21) * Delete, from ISO image, -rm: Manip. (line 21)
* Delete, from ISO image, -rm_r: Manip. (line 28) * Delete, from ISO image, -rm_r: Manip. (line 28)
* Delete, ISO directory, -rmdir: Manip. (line 32) * Delete, ISO directory, -rmdir: Manip. (line 32)
@ -5353,7 +5360,7 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Drive, write and eject, -commit_eject: Writing. (line 56) * Drive, write and eject, -commit_eject: Writing. (line 56)
* EA, _definition: Extras. (line 65) * EA, _definition: Extras. (line 65)
* ECMA-119, _definition: Model. (line 6) * ECMA-119, _definition: Model. (line 6)
* EFI system partition, _definition: Bootable. (line 198) * EFI system partition, _definition: Bootable. (line 199)
* El Torito, _definition: Extras. (line 19) * El Torito, _definition: Extras. (line 19)
* Emulation, -as: Emulation. (line 13) * Emulation, -as: Emulation. (line 13)
* Emulation, .mkisofsrc, -read_mkisofsrc: Emulation. (line 153) * Emulation, .mkisofsrc, -read_mkisofsrc: Emulation. (line 153)
@ -5380,10 +5387,10 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Group, in ISO image, -chgrp_r: Manip. (line 62) * Group, in ISO image, -chgrp_r: Manip. (line 62)
* Growing, _definition: Methods. (line 19) * Growing, _definition: Methods. (line 19)
* Hard links, control handling, -hardlinks: Loading. (line 134) * Hard links, control handling, -hardlinks: Loading. (line 134)
* HFS+ allocation block size: Bootable. (line 284) * HFS+ allocation block size: Bootable. (line 290)
* HFS+ serial number: Bootable. (line 281) * HFS+ serial number: Bootable. (line 287)
* hidden, set in ISO image, -hide: Manip. (line 191) * hidden, set in ISO image, -hide: Manip. (line 191)
* HP-PA boot sector, production: Bootable. (line 261) * HP-PA boot sector, production: Bootable. (line 262)
* Image reading, cache size, -data_cache_size: Loading. (line 296) * Image reading, cache size, -data_cache_size: Loading. (line 296)
* Image, _definition: Model. (line 9) * Image, _definition: Model. (line 9)
* Image, demand volume ID, -assert_volid: Loading. (line 108) * Image, demand volume ID, -assert_volid: Loading. (line 108)
@ -5435,13 +5442,13 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* List delimiter, _definition: Processing. (line 9) * List delimiter, _definition: Processing. (line 9)
* Local Character Set, _definition: Charset. (line 11) * Local Character Set, _definition: Charset. (line 11)
* MBR, _definition: Extras. (line 26) * MBR, _definition: Extras. (line 26)
* MBR, set, -boot_image system_area=: Bootable. (line 135) * MBR, set, -boot_image system_area=: Bootable. (line 136)
* MD5, control handling, -md5: Loading. (line 183) * MD5, control handling, -md5: Loading. (line 183)
* Media, erase, -blank: Writing. (line 61) * Media, erase, -blank: Writing. (line 61)
* Media, format, -format: Writing. (line 91) * Media, format, -format: Writing. (line 91)
* Media, list formats, -list_formats: Writing. (line 134) * Media, list formats, -list_formats: Writing. (line 134)
* Media, list write speeds, -list_speeds: Writing. (line 146) * Media, list write speeds, -list_speeds: Writing. (line 146)
* MIPS boot file, activation: Bootable. (line 240) * MIPS boot file, activation: Bootable. (line 241)
* mkisofs, Emulation: Emulation. (line 16) * mkisofs, Emulation: Emulation. (line 16)
* Modifying, _definition: Methods. (line 27) * Modifying, _definition: Methods. (line 27)
* Multi-session media, _definition: Media. (line 7) * Multi-session media, _definition: Media. (line 7)
@ -5468,15 +5475,15 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Ownership, global in ISO image, -uid: SetWrite. (line 282) * Ownership, global in ISO image, -uid: SetWrite. (line 282)
* Ownership, in ISO image, -chown: Manip. (line 49) * Ownership, in ISO image, -chown: Manip. (line 49)
* Ownership, in ISO image, -chown_r: Manip. (line 54) * Ownership, in ISO image, -chown_r: Manip. (line 54)
* Partition offset, _definition: Bootable. (line 208) * Partition offset, _definition: Bootable. (line 209)
* Partition table, _definition: Bootable. (line 165) * Partition table, _definition: Bootable. (line 166)
* Pathspec, _definition: SetInsert. (line 124) * Pathspec, _definition: SetInsert. (line 124)
* Pattern expansion, _definition: Processing. (line 24) * Pattern expansion, _definition: Processing. (line 24)
* Pattern expansion, for disk paths, -disk_pattern: Insert. (line 36) * Pattern expansion, for disk paths, -disk_pattern: Insert. (line 36)
* Pattern expansion, for ISO paths, -iso_rr_pattern: Manip. (line 10) * Pattern expansion, for ISO paths, -iso_rr_pattern: Manip. (line 10)
* Permissions, in ISO image, -chmod: Manip. (line 65) * Permissions, in ISO image, -chmod: Manip. (line 65)
* Permissions, in ISO image, -chmod_r: Manip. (line 77) * Permissions, in ISO image, -chmod_r: Manip. (line 77)
* PReP partition, _definition: Bootable. (line 193) * PReP partition, _definition: Bootable. (line 194)
* Problems, reporting: Bugreport. (line 6) * Problems, reporting: Bugreport. (line 6)
* Process, consolidate text output, -pkt_output: Frontend. (line 7) * Process, consolidate text output, -pkt_output: Frontend. (line 7)
* Process, control abort on error, -abort_on: Exception. (line 27) * Process, control abort on error, -abort_on: Exception. (line 27)
@ -5535,10 +5542,10 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Session, mount parameters, -mount_opts: Inquiry. (line 68) * Session, mount parameters, -mount_opts: Inquiry. (line 68)
* Session, select as input, -load: Loading. (line 35) * Session, select as input, -load: Loading. (line 35)
* Sorting order, for -x, -list_arg_sorting: ArgSort. (line 27) * Sorting order, for -x, -list_arg_sorting: ArgSort. (line 27)
* SUN Disk Label, production: Bootable. (line 251) * SUN Disk Label, production: Bootable. (line 252)
* SUN SPARC boot images, activation: Bootable. (line 319) * SUN SPARC boot images, activation: Bootable. (line 325)
* Symbolic link, create, -lns: Insert. (line 176) * Symbolic link, create, -lns: Insert. (line 176)
* System area, _definition: Bootable. (line 135) * System area, _definition: Bootable. (line 136)
* Table-of-content, search sessions, -rom_toc_scan: Loading. (line 238) * Table-of-content, search sessions, -rom_toc_scan: Loading. (line 238)
* Table-of-content, show, -toc: Inquiry. (line 28) * Table-of-content, show, -toc: Inquiry. (line 28)
* Timestamps, set in ISO image, -alter_date: Manip. (line 154) * Timestamps, set in ISO image, -alter_date: Manip. (line 154)
@ -5554,7 +5561,7 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Verify, file tree checksums, -check_md5_r: Verify. (line 182) * Verify, file tree checksums, -check_md5_r: Verify. (line 182)
* Verify, preset -check_media, -check_media_defaults: Verify. (line 41) * Verify, preset -check_media, -check_media_defaults: Verify. (line 41)
* Write, block size, -dvd_obs: SetWrite. (line 333) * Write, block size, -dvd_obs: SetWrite. (line 333)
* Write, bootability, -boot_image: Bootable. (line 26) * Write, bootability, -boot_image: Bootable. (line 27)
* Write, buffer syncing, -stdio_sync: SetWrite. (line 340) * Write, buffer syncing, -stdio_sync: SetWrite. (line 340)
* Write, close media, -close: SetWrite. (line 359) * Write, close media, -close: SetWrite. (line 359)
* Write, compliance to specs, -compliance: SetWrite. (line 58) * Write, compliance to specs, -compliance: SetWrite. (line 58)
@ -5604,39 +5611,39 @@ Node: Filter94447
Node: Writing99069 Node: Writing99069
Node: SetWrite109200 Node: SetWrite109200
Node: Bootable129906 Node: Bootable129906
Node: Jigdo149162 Node: Jigdo149506
Node: Charset153409 Node: Charset153753
Node: Exception156724 Node: Exception157068
Node: DialogCtl162844 Node: DialogCtl163188
Node: Inquiry165442 Node: Inquiry165786
Node: Navigate173780 Node: Navigate174124
Node: Verify182078 Node: Verify182422
Node: Restore191905 Node: Restore192249
Node: Emulation200509 Node: Emulation200853
Node: Scripting210897 Node: Scripting211241
Node: Frontend218668 Node: Frontend219012
Node: Examples228275 Node: Examples228619
Node: ExDevices229453 Node: ExDevices229797
Node: ExCreate230119 Node: ExCreate230463
Node: ExDialog231404 Node: ExDialog231748
Node: ExGrowing232669 Node: ExGrowing233013
Node: ExModifying233474 Node: ExModifying233818
Node: ExBootable233978 Node: ExBootable234322
Node: ExCharset234530 Node: ExCharset234874
Node: ExPseudo235422 Node: ExPseudo235766
Node: ExCdrecord236320 Node: ExCdrecord236664
Node: ExMkisofs236637 Node: ExMkisofs236981
Node: ExGrowisofs237977 Node: ExGrowisofs238321
Node: ExException239112 Node: ExException239456
Node: ExTime239566 Node: ExTime239910
Node: ExIncBackup240025 Node: ExIncBackup240369
Node: ExRestore244015 Node: ExRestore244359
Node: ExRecovery244948 Node: ExRecovery245292
Node: Files245518 Node: Files245862
Node: Seealso246817 Node: Seealso247161
Node: Bugreport247540 Node: Bugreport247884
Node: Legal248121 Node: Legal248465
Node: CommandIdx249132 Node: CommandIdx249476
Node: ConceptIdx266013 Node: ConceptIdx266357
 
End Tag Table End Tag Table

View File

@ -50,7 +50,7 @@
@c man .\" First parameter, NAME, should be all caps @c man .\" First parameter, NAME, should be all caps
@c man .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection @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 .\" other parameters are allowed: see man(7), man(1)
@c man .TH XORRISO 1 "Version 1.3.9, Feb 06, 2015" @c man .TH XORRISO 1 "Version 1.3.9, Feb 28, 2015"
@c man .\" Please adjust this date whenever revising the manpage. @c man .\" Please adjust this date whenever revising the manpage.
@c man .\" @c man .\"
@c man .\" Some roff macros, for reference: @c man .\" Some roff macros, for reference:
@ -3433,8 +3433,11 @@ There are booting mechanisms which do not use an El Torito record but rather
start at the first bytes of the image: PC-BIOS MBR or EFI GPT for start at the first bytes of the image: PC-BIOS MBR or EFI GPT for
hard-disk-like devices, hard-disk-like devices,
APM partition entries for Macs which expect HFS+ boot images, APM partition entries for Macs which expect HFS+ boot images,
MIPS Volume Header for old SGI computers, DEC Boot Block for old DECstation, MIPS Volume Header for old SGI computers,
SUN Disk Label for SPARC machines, HP-PA boot sector for HP PA-RISC machines. DEC Boot Block for old MIPS DECstation,
SUN Disk Label for SPARC machines,
HP-PA boot sector for HP PA-RISC machines,
DEC Alpha SRM boot sector for old DEC Alpha machines.
@* @*
@table @asis @table @asis
@sp 1 @sp 1
@ -3771,8 +3774,16 @@ RAM disk file.
and version 4. and version 4.
For the appropriate value see in PALO source code: PALOHDRVERSION. For the appropriate value see in PALO source code: PALOHDRVERSION.
@* @*
@strong{mips_discard}, @strong{sparc_discard}, and @strong{hppa_discard} @cindex DEC Alpha SRM boot sector, production
revoke any boot file declarations made for mips, mipsel, sparc resp. hppa. @strong{alpha_boot=}iso_rr_path declares a data file in the image to be the
DEC Alpha SRM Secondary Bootloader and causes production of a boot sector
which points to it.
This is mutually exclusive with production of other boot blocks like MBR.
@*
@strong{mips_discard}, @strong{sparc_discard}, @strong{hppa_discard},
@strong{alpha_discard}
revoke any boot file declarations made for mips, mipsel, sparc, hppa,
resp. alpha.
This removes the ban on production of other boot blocks. This removes the ban on production of other boot blocks.
@* @*
@cindex HFS+ serial number @cindex HFS+ serial number

View File

@ -1 +1 @@
#define Xorriso_timestamP "2015.02.07.114834" #define Xorriso_timestamP "2015.02.28.142843"

View File

@ -546,6 +546,8 @@ int Xorriso_add_mips_boot_file(struct XorrisO *xorriso, char *path, int flag);
int Xorriso_set_hppa_boot_parm(struct XorrisO *xorriso, char *text, char *what, int Xorriso_set_hppa_boot_parm(struct XorrisO *xorriso, char *text, char *what,
int flag); int flag);
int Xorriso_set_alpha_boot(struct XorrisO *xorriso, char *path, int flag);
int Xorriso_coordinate_system_area(struct XorrisO *xorriso, int sa_type, int Xorriso_coordinate_system_area(struct XorrisO *xorriso, int sa_type,
int options, char *cmd, int flag); int options, char *cmd, int flag);

View File

@ -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.3.9, Feb 06, 2015" .TH XORRISOFS 1 "Version 1.3.9, Feb 28, 2015"
.\" 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:
@ -1019,7 +1019,7 @@ MBR, GPT and APM are combinable. APM occupies the first 8 bytes of
MBR boot code. All three do not hamper El Torito booting from CDROM. MBR boot code. All three do not hamper El Torito booting from CDROM.
.br .br
\fBxorrisofs\fR supports further boot facilities: \fBxorrisofs\fR supports further boot facilities:
MIPS Big Endian (SGI), MIPS Little Endian (DEC), SUN SPARC, HP\-PA. MIPS Big Endian (SGI), MIPS Little Endian (DEC), SUN SPARC, HP\-PA, DEC Alpha.
Those are mutually not combinable and also not combinable with MBR, GPT, Those are mutually not combinable and also not combinable with MBR, GPT,
or APM. or APM.
.br .br
@ -1258,6 +1258,11 @@ Designate the given path as HP\-PA RAM disk file.
Choose between PALO header version 5 (default) and version 4. Choose between PALO header version 5 (default) and version 4.
For the appropriate value see in PALO source code: PALOHDRVERSION. For the appropriate value see in PALO source code: PALOHDRVERSION.
.TP .TP
\fB\-alpha-boot\fR iso_rr_path
Declare a data file in the image to be the DEC Alpha SRM Secondary Bootstrap
Loader and cause production of a boot sector which points to it.
This is mutually exclusive with production of other boot blocks like MBR.
.TP
.B Character sets: .B Character sets:
.PP .PP
Character sets should not matter as long as only english alphanumeric Character sets should not matter as long as only english alphanumeric

View File

@ -1000,8 +1000,8 @@ Macs for booting and for mounting.
MBR, GPT and APM are combinable. APM occupies the first 8 bytes of MBR MBR, GPT and APM are combinable. APM occupies the first 8 bytes of MBR
boot code. All three do not hamper El Torito booting from CDROM. boot code. All three do not hamper El Torito booting from CDROM.
`xorrisofs' supports further boot facilities: MIPS Big Endian (SGI), `xorrisofs' supports further boot facilities: MIPS Big Endian (SGI),
MIPS Little Endian (DEC), SUN SPARC, HP-PA. Those are mutually not MIPS Little Endian (DEC), SUN SPARC, HP-PA, DEC Alpha. Those are
combinable and also not combinable with MBR, GPT, or APM. mutually not combinable and also not combinable with MBR, GPT, or APM.
-G disk_path -G disk_path
Copy at most 32768 bytes from the given disk file to the very Copy at most 32768 bytes from the given disk file to the very
@ -1227,6 +1227,12 @@ combinable and also not combinable with MBR, GPT, or APM.
Choose between PALO header version 5 (default) and version 4. For Choose between PALO header version 5 (default) and version 4. For
the appropriate value see in PALO source code: PALOHDRVERSION. the appropriate value see in PALO source code: PALOHDRVERSION.
-alpha-boot iso_rr_path
Declare a data file in the image to be the DEC Alpha SRM Secondary
Bootstrap Loader and cause production of a boot sector which
points to it. This is mutually exclusive with production of other
boot blocks like MBR.
 
File: xorrisofs.info, Node: Charset, Next: Jigdo, Prev: SystemArea, Up: Options File: xorrisofs.info, Node: Charset, Next: Jigdo, Prev: SystemArea, Up: Options
@ -1870,6 +1876,7 @@ File: xorrisofs.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: T
* -A set Application Id: ImageId. (line 38) * -A set Application Id: ImageId. (line 38)
* -abstract set Abstract File path: ImageId. (line 66) * -abstract set Abstract File path: ImageId. (line 66)
* -allow-lowercase lowercase in ISO file names: SetCompl. (line 46) * -allow-lowercase lowercase in ISO file names: SetCompl. (line 46)
* -alpha-boot DEC Alpha SRM bootloader: SystemArea. (line 249)
* -append_partition Append MBR partition after image: SystemArea. * -append_partition Append MBR partition after image: SystemArea.
(line 132) (line 132)
* -appended_part_as_gpt Appended partitions in GPT: SystemArea. * -appended_part_as_gpt Appended partitions in GPT: SystemArea.
@ -2076,6 +2083,7 @@ File: xorrisofs.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
(line 95) (line 95)
* Bootability, control, --grub2-sparc-core: SystemArea. (line 219) * Bootability, control, --grub2-sparc-core: SystemArea. (line 219)
* Bootability, control, --efi-boot: Bootable. (line 58) * Bootability, control, --efi-boot: Bootable. (line 58)
* Bootability, control, -alpha-boot: SystemArea. (line 249)
* Bootability, control, -b, -eltorito-boot: Bootable. (line 32) * Bootability, control, -b, -eltorito-boot: Bootable. (line 32)
* Bootability, control, -B, -sparc-boot: SystemArea. (line 201) * Bootability, control, -B, -sparc-boot: SystemArea. (line 201)
* Bootability, control, -e: Bootable. (line 50) * Bootability, control, -e: Bootable. (line 50)
@ -2269,22 +2277,22 @@ Node: SetHide30591
Node: ImageId31899 Node: ImageId31899
Node: Bootable36067 Node: Bootable36067
Node: SystemArea41247 Node: SystemArea41247
Node: Charset53165 Node: Charset53438
Node: Jigdo54191 Node: Jigdo54464
Node: Miscellaneous58458 Node: Miscellaneous58731
Node: Examples60102 Node: Examples60375
Node: ExSimple60588 Node: ExSimple60861
Node: ExGraft61067 Node: ExGraft61340
Node: ExMkisofs62314 Node: ExMkisofs62587
Node: ExGrowisofs63567 Node: ExGrowisofs63840
Node: ExIncBackup64739 Node: ExIncBackup65012
Node: ExIncBckAcc67857 Node: ExIncBckAcc68130
Node: ExBootable69533 Node: ExBootable69806
Node: Files71625 Node: Files71898
Node: Seealso72699 Node: Seealso72972
Node: Bugreport73355 Node: Bugreport73628
Node: Legal73936 Node: Legal74209
Node: CommandIdx74831 Node: CommandIdx75104
Node: ConceptIdx90183 Node: ConceptIdx90529
 
End Tag Table End Tag Table

View File

@ -50,7 +50,7 @@
@c man .\" First parameter, NAME, should be all caps @c man .\" First parameter, NAME, should be all caps
@c man .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection @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 .\" other parameters are allowed: see man(7), man(1)
@c man .TH XORRISOFS 1 "Version 1.3.9, Feb 06, 2015" @c man .TH XORRISOFS 1 "Version 1.3.9, Feb 28, 2015"
@c man .\" Please adjust this date whenever revising the manpage. @c man .\" Please adjust this date whenever revising the manpage.
@c man .\" @c man .\"
@c man .\" Some roff macros, for reference: @c man .\" Some roff macros, for reference:
@ -1391,7 +1391,7 @@ MBR, GPT and APM are combinable. APM occupies the first 8 bytes of
MBR boot code. All three do not hamper El Torito booting from CDROM. MBR boot code. All three do not hamper El Torito booting from CDROM.
@* @*
@command{xorrisofs} supports further boot facilities: @command{xorrisofs} supports further boot facilities:
MIPS Big Endian (SGI), MIPS Little Endian (DEC), SUN SPARC, HP-PA. MIPS Big Endian (SGI), MIPS Little Endian (DEC), SUN SPARC, HP-PA, DEC Alpha.
Those are mutually not combinable and also not combinable with MBR, GPT, Those are mutually not combinable and also not combinable with MBR, GPT,
or APM. or APM.
@* @*
@ -1689,6 +1689,13 @@ Designate the given path as HP-PA RAM disk file.
@cindex Bootability, control, -hppa-hdrversion @cindex Bootability, control, -hppa-hdrversion
Choose between PALO header version 5 (default) and version 4. Choose between PALO header version 5 (default) and version 4.
For the appropriate value see in PALO source code: PALOHDRVERSION. For the appropriate value see in PALO source code: PALOHDRVERSION.
@c man .TP
@item -alpha-boot iso_rr_path
@kindex -alpha-boot DEC Alpha SRM bootloader
@cindex Bootability, control, -alpha-boot
Declare a data file in the image to be the DEC Alpha SRM Secondary Bootstrap
Loader and cause production of a boot sector which points to it.
This is mutually exclusive with production of other boot blocks like MBR.
@end table @end table
@c man .TP @c man .TP
@c man .B Character sets: @c man .B Character sets: