From 57dee4dc04604ac393d305ebec4c0f449b0fcdaa Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Sun, 31 Aug 2003 11:16:07 +0000 Subject: 2003-08-31 Marcus Brinkmann * main.c (diskfs_readonly, diskfs_hard_readonly): Removed. (main): Set diskfs_readonly and diskfs_hard_readonly to one. --- isofs/ChangeLog | 5 +++++ isofs/main.c | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/isofs/ChangeLog b/isofs/ChangeLog index 0a3abe2d..6d8253db 100644 --- a/isofs/ChangeLog +++ b/isofs/ChangeLog @@ -1,3 +1,8 @@ +2003-08-31 Marcus Brinkmann + + * main.c (diskfs_readonly, diskfs_hard_readonly): Removed. + (main): Set diskfs_readonly and diskfs_hard_readonly to one. + 2002-09-29 Marcus Brinkmann * Makefile (target): Change to iso9660fs. 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); -- cgit v1.2.3