summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-14 04:02:06 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-14 04:02:06 +0000
commit83bbbb3bd1e75236420065324cc450c134d5d159 (patch)
tree458584992dbb4d270b2b31ca4dca8c14a373eaec
parent62f8da5ce5cfc1ff279095c6da1297d3b91d56cf (diff)
from ws@netbsd:
- Add support for Win'95 separate creation/modification/access timestamps - Re-introduce lowercase filenames for non-Win'95-filesystems
-rw-r--r--sys/sys/mount.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/sys/sys/mount.h b/sys/sys/mount.h
index e4de613a41f..232d243df50 100644
--- a/sys/sys/mount.h
+++ b/sys/sys/mount.h
@@ -1,4 +1,4 @@
-/* $NetBSD: mount.h,v 1.42.2.1 1995/11/01 00:06:31 jtc Exp $ */
+/* $NetBSD: mount.h,v 1.44 1995/11/11 22:00:21 mycroft Exp $ */
/*
* Copyright (c) 1989, 1991, 1993
@@ -82,8 +82,8 @@ struct statfs {
/*
* File system types.
*/
-#define MOUNT_FFS "ffs" /* Berkeley "Fast" Filesystem */
-#define MOUNT_UFS MOUNT_FFS
+#define MOUNT_FFS "ffs" /* UNIX "Fast" Filesystem */
+#define MOUNT_UFS MOUNT_FFS /* for compatibility */
#define MOUNT_NFS "nfs" /* Network Filesystem */
#define MOUNT_MFS "mfs" /* Memory Filesystem */
#define MOUNT_MSDOS "msdos" /* MSDOS Filesystem */
@@ -373,7 +373,14 @@ struct msdosfs_args {
uid_t uid; /* uid that owns msdosfs files */
gid_t gid; /* gid that owns msdosfs files */
mode_t mask; /* mask to be applied for msdosfs perms */
+ int flags; /* see below */
};
+/*
+ * Msdosfs mount options:
+ */
+#define MSDOSFSMNT_SHORTNAME 1 /* Force old DOS short names only */
+#define MSDOSFSMNT_LONGNAME 2 /* Force Win'95 long names */
+#define MSDOSFSMNT_NOWIN95 4 /* Completely ignore Win95 entries */
/*
* Arguments to mount amigados filesystems.