Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add more description in mke2fs's man page of the -T option
[tools/e2fsprogs.git]
/
misc
/
fsck.h
diff --git
a/misc/fsck.h
b/misc/fsck.h
index
b79714b
..
55cb525
100644
(file)
--- a/
misc/fsck.h
+++ b/
misc/fsck.h
@@
-2,6
+2,8
@@
* fsck.h
*/
* fsck.h
*/
+#include <time.h>
+
#ifdef __STDC__
#define NOARGS void
#else
#ifdef __STDC__
#define NOARGS void
#else
@@
-9,8
+11,15
@@
#define const
#endif
#define const
#endif
+#ifdef __GNUC__
+#define FSCK_ATTR(x) __attribute__(x)
+#else
+#define FSCK_ATTR(x)
+#endif
+
+
#ifndef DEFAULT_FSTYPE
#ifndef DEFAULT_FSTYPE
-#
define DEFAULT_FSTYPE
"ext2"
+#
define DEFAULT_FSTYPE
"ext2"
#endif
#define MAX_DEVICES 32
#endif
#define MAX_DEVICES 32
@@
-40,6
+49,7
@@
struct fs_info {
};
#define FLAG_DONE 1
};
#define FLAG_DONE 1
+#define FLAG_PROGRESS 2
/*
* Structure to allow exit codes to be stored
/*
* Structure to allow exit codes to be stored
@@
-48,10
+58,13
@@
struct fsck_instance {
int pid;
int flags;
int exit_status;
int pid;
int flags;
int exit_status;
+ time_t start_time;
char * prog;
char * prog;
+ char * type;
char * device;
char * device;
+ char * base_device;
struct fsck_instance *next;
};
struct fsck_instance *next;
};
-
-
+extern char *base_device(const char *device);
+extern const char *identify_fs(const char *fs_name, const char *fs_types);