summaryrefslogtreecommitdiff
path: root/lib/mlibc/options/bsd/include/fstab.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mlibc/options/bsd/include/fstab.h')
-rw-r--r--lib/mlibc/options/bsd/include/fstab.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/mlibc/options/bsd/include/fstab.h b/lib/mlibc/options/bsd/include/fstab.h
new file mode 100644
index 0000000..2a445f0
--- /dev/null
+++ b/lib/mlibc/options/bsd/include/fstab.h
@@ -0,0 +1,23 @@
+#ifndef _FSTAB_H
+#define _FSTAB_H
+
+#define _PATH_FSTAB "/etc/fstab"
+#define FSTAB "/etc/fstab"
+
+#define FSTAB_RW "rw"
+#define FSTAB_RQ "rq"
+#define FSTAB_RO "ro"
+#define FSTAB_SW "sw"
+#define FSTAB_XX "xx"
+
+struct fstab {
+ char *fs_spec;
+ char *fs_file;
+ char *fs_vfstype;
+ char *fs_mntops;
+ const char *fs_type;
+ int fs_freq;
+ int fs_passno;
+};
+
+#endif /* _FSTAB_H */