]>
Commit | Line | Data |
---|---|---|
faeb1b64 KZ |
1 | /* |
2 | * SPDX-License-Identifier: GPL-2.0-or-later | |
3 | * | |
4 | * This file may be redistributed under the terms of the GNU Public | |
5 | * License. | |
6 | */ | |
607c2a72 KZ |
7 | #ifndef IS_MOUNTED_H |
8 | #define IS_MOUNTED_H | |
9 | ||
acf6ab6f KZ |
10 | #define MF_MOUNTED 1 |
11 | #define MF_ISROOT 2 | |
12 | #define MF_READONLY 4 | |
13 | #define MF_SWAP 8 | |
14 | #define MF_BUSY 16 | |
15 | ||
607c2a72 | 16 | extern int is_mounted(const char *file); |
acf6ab6f KZ |
17 | extern int check_mount_point(const char *device, int *mount_flags, |
18 | char *mtpt, int mtlen); | |
607c2a72 KZ |
19 | |
20 | #endif /* IS_MOUNTED_H */ |