diff options
author | 2006-12-06 17:54:22 +0000 | |
---|---|---|
committer | 2006-12-06 17:54:22 +0000 | |
commit | efe5c7f319bbdf7b1bf5b7a76bd3f8b810c9f166 (patch) | |
tree | b555c517aeaafb523530f33460e7d97881b274b3 | |
parent | nfs_readdirplusrpc(): (diff) | |
download | wireguard-openbsd-efe5c7f319bbdf7b1bf5b7a76bd3f8b810c9f166.tar.xz wireguard-openbsd-efe5c7f319bbdf7b1bf5b7a76bd3f8b810c9f166.zip |
print readdirplus (rdplus) info for nfs mounts.
ok pedro@
-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); |