aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount_ifs/mntopts.h
diff options
context:
space:
mode:
authorKATO Takenori <kato@FreeBSD.org>1997-09-27 13:44:17 +0000
committerKATO Takenori <kato@FreeBSD.org>1997-09-27 13:44:17 +0000
commit75b714ac11c006f57a52cdfcfdb93fe6a0093549 (patch)
treedc8623fe65733f8694e39de0a33568502d10c0ef /sbin/mount_ifs/mntopts.h
parenta04aa72155084a6d8d66c893f1b79548ed8316ca (diff)
downloadsrc-75b714ac11c006f57a52cdfcfdb93fe6a0093549.tar.gz
src-75b714ac11c006f57a52cdfcfdb93fe6a0093549.zip
Add noclusterr and noclusterw options. The noclusterr and noclusterw
disable clustered read and write, respectively. Reviewed by: bde
Notes
Notes: svn path=/head/; revision=29890
Diffstat (limited to 'sbin/mount_ifs/mntopts.h')
-rw-r--r--sbin/mount_ifs/mntopts.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sbin/mount_ifs/mntopts.h b/sbin/mount_ifs/mntopts.h
index 38daf7fccb2d..5175070287bb 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;