diff options
Diffstat (limited to 'isofs/main.c')
-rw-r--r-- | isofs/main.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/isofs/main.c b/isofs/main.c index 05b50d7e..4f6ea8fa 100644 --- a/isofs/main.c +++ b/isofs/main.c @@ -39,8 +39,6 @@ int diskfs_link_max = INT_MAX; int diskfs_name_max = 255; /* see iso9660.h: struct dirrect::namelen */ int diskfs_maxsymlinks = 8; -/* This filesystem is never capable of writing. */ -int diskfs_readonly = 1, diskfs_hard_readonly = 1; /* Fetch the root node */ static void @@ -130,6 +128,10 @@ main (int argc, char **argv) { mach_port_t bootstrap; + /* This filesystem is never capable of writing. */ + diskfs_readonly = 1; + diskfs_hard_readonly = 1; + /* Initialize the diskfs library, parse arguments, and open the store. This starts the first diskfs thread for us. */ store = diskfs_init_main (NULL, argc, argv, &store_parsed, &bootstrap); |