summaryrefslogtreecommitdiffstats
path: root/sys/sys/mount.h
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2014-08-17 09:44:42 +0000
committertrasz <trasz@FreeBSD.org>2014-08-17 09:44:42 +0000
commitcac9beab7d53f0c37ce2a2a1b893be59028928f4 (patch)
treeb1803eddeeac8277c4ac48d69f5a735564939289 /sys/sys/mount.h
parent9bd03869ff37c33e97817d979b3c3039fde1520d (diff)
downloadFreeBSD-src-cac9beab7d53f0c37ce2a2a1b893be59028928f4.zip
FreeBSD-src-cac9beab7d53f0c37ce2a2a1b893be59028928f4.tar.gz
Bring in the new automounter, similar to what's provided in most other
UNIX systems, eg. MacOS X and Solaris. It uses Sun-compatible map format, has proper kernel support, and LDAP integration. There are still a few outstanding problems; they will be fixed shortly. Reviewed by: allanjude@, emaste@, kib@, wblock@ (earlier versions) Phabric: D523 MFC after: 2 weeks Relnotes: yes Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/sys/mount.h')
-rw-r--r--sys/sys/mount.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/sys/mount.h b/sys/sys/mount.h
index ca3bc43..d186599 100644
--- a/sys/sys/mount.h
+++ b/sys/sys/mount.h
@@ -260,6 +260,7 @@ void __mnt_vnode_markerfree_active(struct vnode **mvp, struct mount *);
#define MNT_NOCLUSTERR 0x0000000040000000ULL /* disable cluster read */
#define MNT_NOCLUSTERW 0x0000000080000000ULL /* disable cluster write */
#define MNT_SUJ 0x0000000100000000ULL /* using journaled soft updates */
+#define MNT_AUTOMOUNTED 0x0000000200000000ULL /* mounted by automountd(8) */
/*
* NFS export related mount flags.
@@ -296,7 +297,7 @@ void __mnt_vnode_markerfree_active(struct vnode **mvp, struct mount *);
MNT_NOCLUSTERW | MNT_SUIDDIR | MNT_SOFTDEP | \
MNT_IGNORE | MNT_EXPUBLIC | MNT_NOSYMFOLLOW | \
MNT_GJOURNAL | MNT_MULTILABEL | MNT_ACLS | \
- MNT_NFS4ACLS)
+ MNT_NFS4ACLS | MNT_AUTOMOUNTED)
/* Mask of flags that can be updated. */
#define MNT_UPDATEMASK (MNT_NOSUID | MNT_NOEXEC | \
@@ -304,7 +305,8 @@ void __mnt_vnode_markerfree_active(struct vnode **mvp, struct mount *);
MNT_NOATIME | \
MNT_NOSYMFOLLOW | MNT_IGNORE | \
MNT_NOCLUSTERR | MNT_NOCLUSTERW | MNT_SUIDDIR | \
- MNT_ACLS | MNT_USER | MNT_NFS4ACLS)
+ MNT_ACLS | MNT_USER | MNT_NFS4ACLS | \
+ MNT_AUTOMOUNTED)
/*
* External filesystem command modifier flags.
OpenPOWER on IntegriCloud