15
#define FSCK_ATTR(x) __attribute__(x)
21
#ifndef DEFAULT_FSTYPE
22
#define DEFAULT_FSTYPE "ext2"
25
#define MAX_DEVICES 32
29
#define EXIT_NONDESTRUCT 1
30
#define EXIT_DESTRUCT 2
31
#define EXIT_UNCORRECTED 4
34
#define EXIT_LIBRARY 128
37
* Internal structure for mount tabel entries.
52
#define FLAG_PROGRESS 2
55
* Structure to allow exit codes to be stored
57
struct fsck_instance {
66
struct fsck_instance *next;
69
extern char *base_device(const char *device);
70
extern const char *identify_fs(const char *fs_name, const char *fs_types);
73
extern int is_mounted(const char *file);