chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
support chrooting/setting of ioprio when spawning
[elogind.git]
/
mount.h
diff --git
a/mount.h
b/mount.h
index b437b2e7f5ead67880c052137fa542b5310ea543..2f90226051ceff7627fe03676a22617679cbe4ef 100644
(file)
--- a/
mount.h
+++ b/
mount.h
@@
-5,7
+5,7
@@
typedef struct Mount Mount;
typedef struct Mount Mount;
-#include "
name
.h"
+#include "
unit
.h"
typedef enum MountState {
MOUNT_DEAD,
typedef enum MountState {
MOUNT_DEAD,
@@
-20,9
+20,20
@@
struct Mount {
Meta meta;
MountState state;
Meta meta;
MountState state;
- char *path;
+
+ char *what, *where;
+
+ bool from_etc_fstab:1;
+ bool from_proc_self_mountinfo:1;
+
+ /* Used while looking for mount points that vanished or got
+ * added from/to /proc/self/mountinfo */
+ bool still_exists:1;
+ bool just_created:1;
};
};
-extern const NameVTable mount_vtable;
+extern const UnitVTable mount_vtable;
+
+void mount_fd_event(Manager *m, int events);
#endif
#endif