summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_msdosfs/ext.h
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/fsck_msdosfs/ext.h')
-rw-r--r--sbin/fsck_msdosfs/ext.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sbin/fsck_msdosfs/ext.h b/sbin/fsck_msdosfs/ext.h
index ce67792..9eb4098 100644
--- a/sbin/fsck_msdosfs/ext.h
+++ b/sbin/fsck_msdosfs/ext.h
@@ -48,6 +48,7 @@ extern int alwaysno; /* assume "no" for all questions */
extern int alwaysyes; /* assume "yes" for all questions */
extern int preen; /* we are preening */
extern int rdonly; /* device is opened read only (supersedes above) */
+extern int force;
extern struct dosDirEntry *rootDir;
@@ -85,6 +86,12 @@ int readboot(int, struct bootblock *);
int writefsinfo(int, struct bootblock *);
/*
+ * Check the dirty flag. If clean return 1, otherwise return 0.
+ * If it is FAT12, return 0 always.
+ */
+int checkdirty(int, struct bootblock *);
+
+/*
* Read one of the FAT copies and return a pointer to the new
* allocated array holding our description of it.
*/
OpenPOWER on IntegriCloud