Provisory new -as mkisofs option -fat

This commit is contained in:
Thomas Schmitt 2012-06-10 18:41:17 +00:00
parent 9a98a98787
commit f2422356cf
5 changed files with 9 additions and 2 deletions

View File

@ -135,6 +135,7 @@ int Xorriso_new(struct XorrisO ** xorriso,char *progname, int flag)
m->iso_level= 3;
m->do_joliet= 0;
m->do_hfsplus= 0;
m->do_fat= 0;
m->do_rockridge= 1;
m->do_iso1999= 0;
m->do_aaip= 0;

View File

@ -575,7 +575,7 @@ int Xorriso_genisofs_count_args(struct XorrisO *xorriso, int argc, char **argv,
"--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",
"--no_rc", "--norock", "-hfsplus",
"--no_rc", "--norock", "-hfsplus", "-fat",
""
};
static char arg1_options[][41]= {
@ -1300,6 +1300,8 @@ int Xorriso_genisofs(struct XorrisO *xorriso, char *whom,
} else if(strcmp(argpt, "--old-root-no-ino")==0) {
old_root_ino= 0;
} else if(strcmp(argpt, "-fat") == 0) {
xorriso->do_fat= 1;
} else if(strcmp(argpt, "-hfsplus") == 0) {
/* Already with -indev */
xorriso->do_hfsplus= 1;
@ -1507,6 +1509,8 @@ illegal_c:;
} else if(strcmp(argpt, "-joliet-long")==0) {
Xorriso_relax_compliance(xorriso,
"joliet_long_paths:joliet_long_names", 0);
} else if(strcmp(argpt, "-fat") == 0) {
/* was already handled in first argument scan */;
} else if(strcmp(argpt, "-hfs-bless") == 0 ||
strcmp(argpt, "-hfs-bless-by") == 0 ||
strcmp(argpt, "-hfsplus-file-creator-type") == 0) {

View File

@ -813,6 +813,7 @@ int Xorriso_write_session(struct XorrisO *xorriso, int flag)
ext= ((!!xorriso->do_rockridge) * isoburn_igopt_rockridge) |
((!!xorriso->do_joliet) * isoburn_igopt_joliet) |
((!!xorriso->do_hfsplus) * isoburn_igopt_hfsplus) |
((!!xorriso->do_fat) * isoburn_igopt_fat) |
((!!xorriso->do_iso1999) * isoburn_igopt_iso1999) |
(( !(xorriso->ino_behavior & 2)) * isoburn_igopt_hardlinks) |
(( (!(xorriso->ino_behavior & 2)) ||

View File

@ -134,6 +134,7 @@ struct XorrisO { /* the global context of xorriso */
int iso_level;
int do_joliet;
int do_hfsplus;
int do_fat;
int do_rockridge;
int do_iso1999;

View File

@ -1 +1 @@
#define Xorriso_timestamP "2012.06.10.184039"
#define Xorriso_timestamP "2012.06.10.184210"