diff options
Diffstat (limited to 'fatfs/main.c')
-rw-r--r-- | fatfs/main.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/fatfs/main.c b/fatfs/main.c index 2b14c013..b85d7fe7 100644 --- a/fatfs/main.c +++ b/fatfs/main.c @@ -1,5 +1,8 @@ /* main.c - FAT filesystem. - Copyright (C) 1997, 1998, 1999, 2002, 2003 Free Software Foundation, Inc. + + Copyright (C) 1997, 1998, 1999, 2002, 2003, 2007 + Free Software Foundation, Inc. + Written by Thomas Bushnell, n/BSG and Marcus Brinkmann. This file is part of the GNU Hurd. @@ -42,9 +45,6 @@ int diskfs_link_max = 1; int diskfs_name_max = FAT_NAME_MAX; int diskfs_maxsymlinks = 8; /* XXX */ -/* This filesystem is not capable of writing yet. */ -int diskfs_readonly = 1; - /* Handy source of zeroes. */ vm_address_t zerocluster; @@ -219,6 +219,10 @@ main (int argc, char **argv) fs_uid = default_fs_uid; fs_gid = default_fs_gid; + /* This filesystem is not capable of writing yet. */ + 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 (&startup_argp, argc, argv, &store_parsed, |