diff options
Diffstat (limited to 'mdadm.h')
-rw-r--r-- | mdadm.h | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -90,16 +90,8 @@ extern __off64_t lseek64 __P ((int __fd, __off64_t __offset, int __whence)); * boot process and stays up as long as possible during shutdown. */ #ifndef MDMON_DIR -#define MDMON_DIR "/var/run/mdadm" +#define MDMON_DIR "/lib/init/rw/mdmon" #endif /* MDMON_DIR */ -/* MDMONITOR_DIR is where mdadm --monitor will stick its pid file - * by default. Since mdadm --monitor is not started until normal - * filesystems are already read/write, the typical /var/run/mdadm - * should work fine. - */ -#ifndef MDMONITOR_DIR -#define MDMONITOR_DIR "/var/run/mdadm" -#endif /* MDMONITOR_DIR */ #include "md_u.h" #include "md_p.h" @@ -920,7 +912,6 @@ extern int create_mddev(char *dev, char *name, int autof, int trustworthy, extern int open_mddev(char *dev, int report_errors); extern int open_container(int fd); -extern char *pid_dir; extern int mdmon_running(int devnum); extern int mdmon_pid(int devnum); extern int check_env(char *name); |