summaryrefslogtreecommitdiff
path: root/mount/fstab.h
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2006-12-07 00:25:37 +0100
committerKarel Zak <kzak@redhat.com>2006-12-07 00:25:37 +0100
commit5c36a0eb7cdb0360f9afd5d747c321f423b35984 (patch)
tree147599a77eaff2b5fbc0d389e89d2b51602326c0 /mount/fstab.h
parent2b6fc908bc368b540845a313c3b8a867c5ad9a42 (diff)
downloadutil-linux-old-5c36a0eb7cdb0360f9afd5d747c321f423b35984.tar.gz
Imported from util-linux-2.9i tarball.
Diffstat (limited to 'mount/fstab.h')
-rw-r--r--mount/fstab.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/mount/fstab.h b/mount/fstab.h
index f22f2e7c..e0b3895c 100644
--- a/mount/fstab.h
+++ b/mount/fstab.h
@@ -1,7 +1,7 @@
#define _PATH_FSTAB "/etc/fstab"
#define MOUNTED_LOCK "/etc/mtab~"
#define MOUNTED_TEMP "/etc/mtab.tmp"
-#define LOCK_BUSY 10
+#define LOCK_TIMEOUT 10
int mtab_is_writable(void);
int mtab_does_not_exist(void);
@@ -18,10 +18,13 @@ struct mntentchn {
struct mntentchn *mtab_head (void);
struct mntentchn *getmntfile (const char *name);
struct mntentchn *getmntoptfile (const char *file);
+struct mntentchn *getmntfilesbackward (const char *file, struct mntentchn *mc);
struct mntentchn *fstab_head (void);
struct mntentchn *getfsfile (const char *file);
struct mntentchn *getfsspec (const char *spec);
+struct mntentchn *getfsuuidspec (const char *uuid);
+struct mntentchn *getfsvolspec (const char *label);
#include <mntent.h>
void lock_mtab (void);