summaryrefslogtreecommitdiffstats
path: root/mount/mount_paths.h
blob: 06d5ebf23100522c866728e61d8a6aac2a30efb6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef MOUNT_PATHS_H
#define MOUNT_PATHS_H

#include <mntent.h>

#define _PATH_FSTAB	"/etc/fstab"
#define PROC_SWAPS      "/proc/swaps"

#ifdef _PATH_MOUNTED
# define MOUNTED_LOCK	_PATH_MOUNTED "~"
# define MOUNTED_TEMP	_PATH_MOUNTED ".tmp"
#else
# define MOUNTED_LOCK	"/etc/mtab~"
# define MOUNTED_TEMP	"/etc/mtab.tmp"
#endif

#define LOCK_TIMEOUT	10

#define ETC_FILESYSTEMS		"/etc/filesystems"
#define PROC_FILESYSTEMS	"/proc/filesystems"

/* udev paths */
#define PATH_DEV_BYLABEL	"/dev/disk/by-label"
#define PATH_DEV_BYUUID		"/dev/disk/by-uuid"

#endif /* MOUNT_PATHS_H */