diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2003-08-31 11:16:07 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2003-08-31 11:16:07 +0000 |
commit | 57dee4dc04604ac393d305ebec4c0f449b0fcdaa (patch) | |
tree | 5081b54893c18fc1b1ce8045b347f8ebeb7d6805 /isofs/main.c | |
parent | 9aa6acc27e8f5e0c21a7ace4f6287b0b9715cbf9 (diff) |
2003-08-31 Marcus Brinkmann <marcus@gnu.org>
* main.c (diskfs_readonly, diskfs_hard_readonly): Removed.
(main): Set diskfs_readonly and diskfs_hard_readonly to one.
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); |