From: deraadt Date: Thu, 14 Dec 1995 04:02:05 +0000 (+0000) Subject: from ws@netbsd: X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f681b792e1bb2e06c83662f4253891ab7d4bf109;p=openbsd from ws@netbsd: - Add support for Win'95 separate creation/modification/access timestamps - Re-introduce lowercase filenames for non-Win'95-filesystems --- 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.