summaryrefslogtreecommitdiffstats
path: root/contrib/smbfs/mount_smbfs/mntopts.h
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2001-12-20 16:16:25 +0000
committersheldonh <sheldonh@FreeBSD.org>2001-12-20 16:16:25 +0000
commit67e8242386d3f4e8826098575e19b793dca10751 (patch)
tree0ffff484ad754a8d5ff177e1765e41e81b38cbb4 /contrib/smbfs/mount_smbfs/mntopts.h
parentdeebe243c054490fffec6fd386b6c50bbe0070e9 (diff)
parent48de1f540d9fce8ad29e667bb998732ab193d516 (diff)
downloadFreeBSD-src-67e8242386d3f4e8826098575e19b793dca10751.zip
FreeBSD-src-67e8242386d3f4e8826098575e19b793dca10751.tar.gz
This commit was generated by cvs2svn to compensate for changes in r88282,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/smbfs/mount_smbfs/mntopts.h')
-rw-r--r--contrib/smbfs/mount_smbfs/mntopts.h20
1 files changed, 19 insertions, 1 deletions
diff --git a/contrib/smbfs/mount_smbfs/mntopts.h b/contrib/smbfs/mount_smbfs/mntopts.h
index 5b6d52e..c14b27c 100644
--- a/contrib/smbfs/mount_smbfs/mntopts.h
+++ b/contrib/smbfs/mount_smbfs/mntopts.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)mntopts.h 8.7 (Berkeley) 3/29/95
- * $Id: mntopts.h,v 1.1 2000/03/29 01:26:41 bp Exp $
+ * $Id: mntopts.h,v 1.2 2001/08/22 03:32:52 bp Exp $
*/
struct mntopt {
@@ -43,19 +43,25 @@ struct mntopt {
/* User-visible MNT_ flags. */
#define MOPT_ASYNC { "async", 0, MNT_ASYNC, 0 }
+#ifndef APPLE
#define MOPT_NOATIME { "atime", 1, MNT_NOATIME, 0 }
+#endif
#define MOPT_NODEV { "dev", 1, MNT_NODEV, 0 }
#define MOPT_NOEXEC { "exec", 1, MNT_NOEXEC, 0 }
#define MOPT_NOSUID { "suid", 1, MNT_NOSUID, 0 }
+#ifndef APPLE
#define MOPT_NOSYMFOLLOW { "symfollow", 1, MNT_NOSYMFOLLOW, 0 }
+#endif
#define MOPT_RDONLY { "rdonly", 0, MNT_RDONLY, 0 }
#define MOPT_SYNC { "sync", 0, MNT_SYNCHRONOUS, 0 }
#define MOPT_UNION { "union", 0, MNT_UNION, 0 }
#define MOPT_USERQUOTA { "userquota", 0, 0, 0 }
#define MOPT_GROUPQUOTA { "groupquota", 0, 0, 0 }
+#ifndef APPLE
#define MOPT_NOCLUSTERR { "clusterr", 1, MNT_NOCLUSTERR, 0 }
#define MOPT_NOCLUSTERW { "clusterw", 1, MNT_NOCLUSTERW, 0 }
#define MOPT_SUIDDIR { "suiddir", 0, MNT_SUIDDIR, 0 }
+#endif
/* Control flags. */
#define MOPT_FORCE { "force", 0, MNT_FORCE, 0 }
@@ -72,6 +78,17 @@ struct mntopt {
MOPT_AUTO
/* Standard options which all mounts can understand. */
+#ifdef APPLE
+#define MOPT_STDOPTS \
+ MOPT_USERQUOTA, \
+ MOPT_GROUPQUOTA, \
+ MOPT_FSTAB_COMPAT, \
+ MOPT_NODEV, \
+ MOPT_NOEXEC, \
+ MOPT_NOSUID, \
+ MOPT_RDONLY, \
+ MOPT_UNION
+#else
#define MOPT_STDOPTS \
MOPT_USERQUOTA, \
MOPT_GROUPQUOTA, \
@@ -86,6 +103,7 @@ struct mntopt {
MOPT_UNION, \
MOPT_NOCLUSTERR, \
MOPT_NOCLUSTERW
+#endif /* APPLE */
void getmntopts __P((const char *, const struct mntopt *, int *, int *));
extern int getmnt_silent;
OpenPOWER on IntegriCloud