aboutsummaryrefslogtreecommitdiff
path: root/contrib/amd/include/am_compat.h
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-09-02 17:19:13 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-09-02 17:19:13 +0000
commitd39ff6a0408be6eda4612ec207d50135455493ad (patch)
treef360f5a4cfde557f960abf8a2685577136e077fd /contrib/amd/include/am_compat.h
parent56b658f4c005d078f663f7483244d943db6d7c93 (diff)
downloadsrc-d39ff6a0408be6eda4612ec207d50135455493ad.tar.gz
src-d39ff6a0408be6eda4612ec207d50135455493ad.zip
Virgin import of AMD (am-utils) v6.0.7
Notes
Notes: svn path=/vendor/amd/dist/; revision=82794
Diffstat (limited to 'contrib/amd/include/am_compat.h')
-rw-r--r--contrib/amd/include/am_compat.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/contrib/amd/include/am_compat.h b/contrib/amd/include/am_compat.h
index 876f2ea4f532..639e9a168944 100644
--- a/contrib/amd/include/am_compat.h
+++ b/contrib/amd/include/am_compat.h
@@ -86,6 +86,14 @@
# define MNTTAB_OPT_MAXGROUPS "maxgroups"
#endif /* defined(MNT2_NFS_OPT_MAXGRPS) && !defined(MNTTAB_OPT_MAXGROUPS) */
+#if defined(MNT2_NFS_OPT_PROPLIST) && !defined(MNTTAB_OPT_PROPLIST)
+# define MNTTAB_OPT_PROPLIST "proplist"
+#endif /* defined(MNT2_NFS_OPT_PROPLIST) && !defined(MNTTAB_OPT_PROPLIST) */
+
+#if defined(MNT2_NFS_OPT_NONLM) && !defined(MNTTAB_OPT_NOLOCK)
+# define MNTTAB_OPT_NOLOCK "nolock"
+#endif /* defined(MNT2_NFS_OPT_NONLM) && !defined(MNTTAB_OPT_NOLOCK) */
+
/*
* Complete MNTTAB_OPT_* options based on MNT2_CDFS_OPT_* mount options.
*/
@@ -250,6 +258,13 @@ struct hsfs_args {
# define ufs_args_t u_int
#endif /* defined(HAVE_FS_UFS) && !defined(ufs_args_t) */
+/*
+ * if does not define struct efs_args, assume integer bit-field (linux)
+ */
+#if defined(HAVE_FS_EFS) && !defined(efs_args_t)
+# define efs_args_t u_int
+#endif /* defined(HAVE_FS_EFS) && !defined(efs_args_t) */
+
#if defined(HAVE_FS_AUTOFS) && defined(MOUNT_TYPE_AUTOFS) && !defined(MNTTYPE_AUTOFS)
# define MNTTYPE_AUTOFS "autofs"
#endif /* defined(HAVE_FS_AUTOFS) && defined(MOUNT_TYPE_AUTOFS) && !defined(MNTTYPE_AUTOFS) */