libfstools: add ext4 filesystem type
[project/fstools.git] / libfstools / libfstools.h
index 940c504..0398c96 100644 (file)
@@ -17,6 +17,7 @@
 #include <libubox/list.h>
 #include <libubox/blob.h>
 #include <libubox/ulog.h>
+#include <libubox/utils.h>
 
 struct volume;
 
@@ -26,7 +27,8 @@ enum {
        FS_JFFS2,
        FS_DEADCODE,
        FS_UBIFS,
-       FS_EXT4FS,
+       FS_F2FS,
+       FS_EXT4,
 };
 
 enum fs_state {
@@ -48,7 +50,7 @@ extern int ramoverlay(void);
 
 extern int find_overlay_mount(char *overlay);
 extern char* find_mount(char *mp);
-extern char* find_mount_point(char *block, int mtd_only);
+extern char* find_mount_point(char *block, int root_only);
 extern int find_filesystem(char *fs);
 
 extern int jffs2_switch(struct volume *v);