summaryrefslogtreecommitdiff
path: root/mount/mount_guess_fstype.h
blob: 63cb678c3f8d6d8e07d73284ab4dd4c7c3d99dba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
struct mountargs {
	const char *spec;
	const char *node;
	const char *type;
	int flags;
	void *data;
};

extern int verbose;

char *guess_fstype(const char *device);
char *do_guess_fstype(const char *device);
int procfsloop(int (*mount_fn)(struct mountargs *), struct mountargs *args,
	       const char **type);
int is_in_procfs(const char *fstype);