Expose RockRidge option.
This commit is contained in:
parent
c9957cb25e
commit
941e2022e8
@ -28,7 +28,9 @@ int main(int argc, char **argv)
|
|||||||
FILE *fd;
|
FILE *fd;
|
||||||
Ecma119WriteOpts opts = {
|
Ecma119WriteOpts opts = {
|
||||||
1, /* level */
|
1, /* level */
|
||||||
0, /* flags */
|
1, /* rockridge */
|
||||||
|
0, /* omit_version_numbers */
|
||||||
|
0, /* allow_deep_paths */
|
||||||
0 /* sort files */
|
0 /* sort files */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -730,10 +730,10 @@ int ecma119_image_new(IsoImage *src, Ecma119WriteOpts *opts,
|
|||||||
iso_image_ref(src);
|
iso_image_ref(src);
|
||||||
|
|
||||||
target->iso_level = opts->level;
|
target->iso_level = opts->level;
|
||||||
target->rockridge = 1; //TODO
|
target->rockridge = opts->rockridge;
|
||||||
target->ino = 0;
|
target->ino = 0;
|
||||||
target->omit_version_numbers = opts->omit_version_numbers;
|
target->omit_version_numbers = opts->omit_version_numbers;
|
||||||
target->allow_deep_paths = 0; //TODO
|
target->allow_deep_paths = opts->allow_deep_paths;
|
||||||
target->sort_files = opts->sort_files;
|
target->sort_files = opts->sort_files;
|
||||||
|
|
||||||
target->now = time(NULL);
|
target->now = time(NULL);
|
||||||
|
@ -61,10 +61,13 @@ enum IsoHideNodeFlag {
|
|||||||
typedef struct {
|
typedef struct {
|
||||||
//int volnum; /**< The volume in the set which you want to write (usually 0) */
|
//int volnum; /**< The volume in the set which you want to write (usually 0) */
|
||||||
int level; /**< ISO level to write at. */
|
int level; /**< ISO level to write at. */
|
||||||
int flags; /**< Which extensions to support. */
|
|
||||||
|
/** Which extensions to support. */
|
||||||
|
unsigned int rockridge:1;
|
||||||
|
|
||||||
/* relaxed constraints */
|
/* relaxed constraints */
|
||||||
unsigned int omit_version_numbers:1;
|
unsigned int omit_version_numbers:1;
|
||||||
|
unsigned int allow_deep_paths:1;
|
||||||
//int relaxed_constraints; /**< see ecma119_relaxed_constraints_flag */
|
//int relaxed_constraints; /**< see ecma119_relaxed_constraints_flag */
|
||||||
|
|
||||||
//unsigned int copy_eltorito:1;
|
//unsigned int copy_eltorito:1;
|
||||||
|
Loading…
Reference in New Issue
Block a user