diff options
author | kato <kato@FreeBSD.org> | 1997-09-27 13:44:17 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1997-09-27 13:44:17 +0000 |
commit | 54f0e5ef9d52ea266e68426ac3ee07012a5101e7 (patch) | |
tree | bc8b118f824070b9e164f37186c9ed50ac5e927f /sbin/mount_ifs/mntopts.h | |
parent | 0ec680f86ffdbbc6aa4708df8c39b158fafe11f7 (diff) | |
download | FreeBSD-src-54f0e5ef9d52ea266e68426ac3ee07012a5101e7.zip FreeBSD-src-54f0e5ef9d52ea266e68426ac3ee07012a5101e7.tar.gz |
Add noclusterr and noclusterw options. The noclusterr and noclusterw
disable clustered read and write, respectively.
Reviewed by: bde
Diffstat (limited to 'sbin/mount_ifs/mntopts.h')
-rw-r--r-- | sbin/mount_ifs/mntopts.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sbin/mount_ifs/mntopts.h b/sbin/mount_ifs/mntopts.h index 38daf7f..5175070 100644 --- a/sbin/mount_ifs/mntopts.h +++ b/sbin/mount_ifs/mntopts.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)mntopts.h 8.7 (Berkeley) 3/29/95 - * $Id: mntopts.h,v 1.9 1997/08/24 21:02:48 steve Exp $ + * $Id: mntopts.h,v 1.10 1997/08/25 21:02:21 bde Exp $ */ struct mntopt { @@ -52,6 +52,8 @@ struct mntopt { #define MOPT_UNION { "union", 0, MNT_UNION, 0 } #define MOPT_USERQUOTA { "userquota", 0, 0, 0 } #define MOPT_GROUPQUOTA { "groupquota", 0, 0, 0 } +#define MOPT_NOCLUSTERR { "clusterr", 1, MNT_NOCLUSTERR, 0 } +#define MOPT_NOCLUSTERW { "clusterw", 1, MNT_NOCLUSTERW, 0 } /* Control flags. */ #define MOPT_FORCE { "force", 0, MNT_FORCE, 0 } @@ -77,7 +79,9 @@ struct mntopt { MOPT_NOEXEC, \ MOPT_NOSUID, \ MOPT_RDONLY, \ - MOPT_UNION + MOPT_UNION, \ + MOPT_NOCLUSTERR, \ + MOPT_NOCLUSTERW void getmntopts __P((const char *, const struct mntopt *, int *, int *)); extern int getmnt_silent; |