aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/options/bsd/include/fstab.h
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-03-07 17:28:00 -0500
committerIan Moffett <ian@osmora.org>2024-03-07 17:28:32 -0500
commitbd5969fc876a10b18613302db7087ef3c40f18e1 (patch)
tree7c2b8619afe902abf99570df2873fbdf40a4d1a1 /lib/mlibc/options/bsd/include/fstab.h
parenta95b38b1b92b172e6cc4e8e56a88a30cc65907b0 (diff)
lib: Add mlibc
Signed-off-by: Ian Moffett <ian@osmora.org>
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 */