7 #define FSCK_ATTR(x) __attribute__(x)
10 #ifndef DEFAULT_FSTYPE
11 #define DEFAULT_FSTYPE "ext2"
14 #define MAX_DEVICES 32
18 #define EXIT_NONDESTRUCT 1
19 #define EXIT_DESTRUCT 2
20 #define EXIT_UNCORRECTED 4
23 #define EXIT_LIBRARY 128
26 * Internal structure for mount tabel entries.
41 #define FLAG_PROGRESS 2
44 * Structure to allow exit codes to be stored
46 struct fsck_instance {
55 struct fsck_instance *next;
58 extern char *base_device(const char *device);
59 extern const char *identify_fs(const char *fs_name, const char *fs_types);