summaryrefslogtreecommitdiffstats
path: root/sbin/mount_ifs/mount.c
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1997-09-27 13:44:17 +0000
committerkato <kato@FreeBSD.org>1997-09-27 13:44:17 +0000
commit54f0e5ef9d52ea266e68426ac3ee07012a5101e7 (patch)
treebc8b118f824070b9e164f37186c9ed50ac5e927f /sbin/mount_ifs/mount.c
parent0ec680f86ffdbbc6aa4708df8c39b158fafe11f7 (diff)
downloadFreeBSD-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/mount.c')
-rw-r--r--sbin/mount_ifs/mount.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sbin/mount_ifs/mount.c b/sbin/mount_ifs/mount.c
index bc1c8f4..c9b23ac 100644
--- a/sbin/mount_ifs/mount.c
+++ b/sbin/mount_ifs/mount.c
@@ -42,7 +42,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)mount.c 8.25 (Berkeley) 5/8/95";
#else
static const char rcsid[] =
- "$Id$";
+ "$Id: mount.c,v 1.19 1997/08/24 21:02:49 steve Exp $";
#endif
#endif /* not lint */
@@ -95,6 +95,8 @@ static struct opt {
{ MNT_RDONLY, "read-only" },
{ MNT_SYNCHRONOUS, "synchronous" },
{ MNT_UNION, "union" },
+ { MNT_NOCLUSTERR, "noclusterr" },
+ { MNT_NOCLUSTERW, "noclusterw" },
{ NULL }
};
@@ -595,6 +597,10 @@ putfsent(ent)
printf(",async");
if (ent->f_flags & MNT_NOATIME)
printf(",noatime");
+ if (ent->f_flags & MNT_NOCLUSTERR)
+ printf(",noclusterr");
+ if (ent->f_flags & MNT_NOCLUSTERW)
+ printf(",noclusterw");
if ((fst = getfsspec(ent->f_mntfromname)))
printf("\t%u %u\n", fst->fs_freq, fst->fs_passno);
OpenPOWER on IntegriCloud