New command -truncate_overwritable
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
|
||||
/* xorriso - creates, loads, manipulates and burns ISO 9660 filesystem images.
|
||||
|
||||
Copyright 2007-2019 Thomas Schmitt, <scdbackup@gmx.net>
|
||||
Copyright 2007-2020 Thomas Schmitt, <scdbackup@gmx.net>
|
||||
|
||||
Provided under GPL version 2 or later.
|
||||
|
||||
@ -573,7 +573,7 @@ int Xorriso_count_args(struct XorrisO *xorriso, int argc, char **argv,
|
||||
""
|
||||
};
|
||||
static char arg3_commands[][40]= {
|
||||
"append_partition",
|
||||
"append_partition", "truncate_overwritable",
|
||||
""
|
||||
};
|
||||
static char arg4_commands[][40]= {
|
||||
@ -778,7 +778,7 @@ int Xorriso_cmd_sorting_rank(struct XorrisO *xorriso,
|
||||
"print_size", "tell_media_space",
|
||||
|
||||
"* Writing the result, drive control:",
|
||||
"format", "blank", "close_damaged",
|
||||
"format", "blank", "truncate_overwritable", "close_damaged",
|
||||
"rollback", "changes_pending", "commit", "commit_eject",
|
||||
"eject",
|
||||
|
||||
@ -1941,6 +1941,10 @@ if (0) {
|
||||
(*idx)++;
|
||||
Xorriso_option_toc_of(xorriso, arg1, 0);
|
||||
|
||||
} else if(strcmp(cmd,"truncate_overwritable")==0) {
|
||||
(*idx)+= 3;
|
||||
ret= Xorriso_option_truncate_overwritable(xorriso, arg1, arg2, arg3, 0);
|
||||
|
||||
} else if(strcmp(cmd,"uid")==0) {
|
||||
(*idx)++;
|
||||
ret= Xorriso_option_uid(xorriso,arg1,0);
|
||||
|
Reference in New Issue
Block a user