summaryrefslogtreecommitdiff
path: root/sys/msdosfs/msdosfsmount.h
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2003-04-18 22:12:26 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2003-04-18 22:12:26 +0000
commit59eafc15443d17f49106e364f0e04f3f9a8385de (patch)
treefabe1b9e394bf067c7684bc012d732709d32d43e /sys/msdosfs/msdosfsmount.h
parent00d9372a1b25dc147b81af9598ae8b57ffab2da3 (diff)
support for making directories +x without affecting normal files
ok millert@
Diffstat (limited to 'sys/msdosfs/msdosfsmount.h')
-rw-r--r--sys/msdosfs/msdosfsmount.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/sys/msdosfs/msdosfsmount.h b/sys/msdosfs/msdosfsmount.h
index 8a0020c2731..1008bf2bd0f 100644
--- a/sys/msdosfs/msdosfsmount.h
+++ b/sys/msdosfs/msdosfsmount.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: msdosfsmount.h,v 1.13 2002/03/14 01:27:09 millert Exp $ */
+/* $OpenBSD: msdosfsmount.h,v 1.14 2003/04/18 22:12:25 tedu Exp $ */
/* $NetBSD: msdosfsmount.h,v 1.16 1997/10/17 11:24:24 ws Exp $ */
/*-
@@ -93,16 +93,17 @@ struct msdosfsmount {
*/
#if 0
/* Defined in <sys/mount.h> */
-#define MSDOSFSMNT_SHORTNAME 1
-#define MSDOSFSMNT_LONGNAME 2
-#define MSDOSFSMNT_NOWIN95 4
-#define MSDOSFSMNT_GEMDOSFS 8
+#define MSDOSFSMNT_SHORTNAME 0x01
+#define MSDOSFSMNT_LONGNAME 0x02
+#define MSDOSFSMNT_NOWIN95 0x04
+#define MSDOSFSMNT_GEMDOSFS 0x08
+#define MSDOSFSMNT_ALLOWDIRX 0x10
#endif
/* All flags above: */
#define MSDOSFSMNT_MNTOPT \
(MSDOSFSMNT_SHORTNAME|MSDOSFSMNT_LONGNAME|MSDOSFSMNT_NOWIN95 \
- |MSDOSFSMNT_GEMDOSFS)
+ |MSDOSFSMNT_GEMDOSFS|MSDOSFSMNT_ALLOWDIRX)
#define MSDOSFSMNT_RONLY 0x80000000 /* mounted read-only */
#define MSDOSFSMNT_WAITONFAT 0x40000000 /* mounted synchronous */
#define MSDOSFS_FATMIRROR 0x20000000 /* FAT is mirrored */