]>
Commit | Line | Data |
---|---|---|
607c2a72 KZ |
1 | #ifndef IS_MOUNTED_H |
2 | #define IS_MOUNTED_H | |
3 | ||
acf6ab6f KZ |
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 | ||
607c2a72 | 10 | extern int is_mounted(const char *file); |
acf6ab6f KZ |
11 | extern int check_mount_point(const char *device, int *mount_flags, |
12 | char *mtpt, int mtlen); | |
607c2a72 KZ |
13 | |
14 | #endif /* IS_MOUNTED_H */ |