bigbiff bigbiff | e60683a | 2013-02-22 20:55:50 -0500 | [diff] [blame] | 1 | #ifndef IS_MOUNTED_H |
2 | #define IS_MOUNTED_H | ||||
3 | |||||
4 | #define MF_MOUNTED 1 | ||||
5 | #define MF_ISROOT 2 | ||||
6 | #define MF_READONLY 4 | ||||
7 | #define MF_SWAP 8 | ||||
8 | #define MF_BUSY 16 | ||||
9 | |||||
10 | extern int is_mounted(const char *file); | ||||
11 | extern int check_mount_point(const char *device, int *mount_flags, | ||||
12 | char *mtpt, int mtlen); | ||||
13 | |||||
14 | #endif /* IS_MOUNTED_H */ |