diff options
Diffstat (limited to 'mount/mount_guess_fstype.h')
-rw-r--r-- | mount/mount_guess_fstype.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mount/mount_guess_fstype.h b/mount/mount_guess_fstype.h new file mode 100644 index 000000000..3663f74ca --- /dev/null +++ b/mount/mount_guess_fstype.h @@ -0,0 +1,15 @@ +struct mountargs { + const char *spec; + const char *node; + const char *type; + int flags; + void *data; +}; + +extern int verbose; + +char *guess_fstype_from_superblock(const char *device); +int procfsloop(int (*mount_fn)(struct mountargs *), struct mountargs *args, + char **type); +int is_in_procfs(const char *fstype); +int have_procfs(void); |