summaryrefslogtreecommitdiff
path: root/misc/fsck.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2001-07-19 20:38:53 -0400
committerTheodore Ts'o <tytso@mit.edu>2001-07-19 20:38:53 -0400
commitda376f5a13af0648159c575cf50bf78df34056f9 (patch)
tree26a10e44386e1f6e3d67991dd0f42817d3265b5a /misc/fsck.h
parent55fd07ed0a5f4ed3dcc770526ee1ad3be967ac98 (diff)
downloade2fsprogs-da376f5a13af0648159c575cf50bf78df34056f9.tar.gz
fstype.c (identify_fs): New file which looks at the superblock
of the filesystem to determines its type. fsck.c (fsck_device, ignore, interpret_type): Call identify_fs if the type specified in /etc/fstab is "auto".
Diffstat (limited to 'misc/fsck.h')
-rw-r--r--misc/fsck.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/fsck.h b/misc/fsck.h
index 9d9f6ea1..71eb0113 100644
--- a/misc/fsck.h
+++ b/misc/fsck.h
@@ -61,3 +61,4 @@ struct fsck_instance {
extern char *base_device(char *device);
extern char *string_copy(const char *s);
+extern const char *identify_fs(const char *fs_name);