From 54f0e5ef9d52ea266e68426ac3ee07012a5101e7 Mon Sep 17 00:00:00 2001 From: kato Date: Sat, 27 Sep 1997 13:44:17 +0000 Subject: Add noclusterr and noclusterw options. The noclusterr and noclusterw disable clustered read and write, respectively. Reviewed by: bde --- sbin/mount_ifs/mount.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'sbin/mount_ifs/mount.c') 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); -- cgit v1.1