diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2006-12-06 17:54:23 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2006-12-06 17:54:23 +0000 |
commit | f87760a0846ad3befa5233f92e6dc697ed5ff4e2 (patch) | |
tree | 9d0d1a7a07bf7d51a62ed140fa4d422458b1b218 /sbin/mount | |
parent | 5ed98d69f5f0c903cb986375e79f8315b0a4922e (diff) |
print readdirplus (rdplus) info for nfs mounts.
ok pedro@
Diffstat (limited to 'sbin/mount')
-rw-r--r-- | sbin/mount/mount.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c index 67bd1b7db6e..7a9e019a74d 100644 --- a/sbin/mount/mount.c +++ b/sbin/mount/mount.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mount.c,v 1.42 2006/04/08 01:41:32 ray Exp $ */ +/* $OpenBSD: mount.c,v 1.43 2006/12/06 17:54:22 thib Exp $ */ /* $NetBSD: mount.c,v 1.24 1995/11/18 03:34:29 cgd Exp $ */ /* @@ -40,7 +40,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)mount.c 8.19 (Berkeley) 4/19/94"; #else -static char rcsid[] = "$OpenBSD: mount.c,v 1.42 2006/04/08 01:41:32 ray Exp $"; +static char rcsid[] = "$OpenBSD: mount.c,v 1.43 2006/12/06 17:54:22 thib Exp $"; #endif #endif /* not lint */ @@ -519,6 +519,8 @@ prmount(struct statfs *sf) (void)printf("%s%s", !f++ ? " (" : ", ", "intr"); if (nfs_args->flags & NFSMNT_NOCONN) (void)printf("%s%s", !f++ ? " (" : ", ", "noconn"); + if (nfs_args->flags & NFSMNT_RDIRPLUS) + (void)printf("%s%s", !f++ ? " (" : ", ", "rdirplus"); if (verbose || nfs_args->wsize != NFS_WSIZE) (void)printf("%s%s=%d", !f++ ? " (" : ", ", "wsize", nfs_args->wsize); |