diff options
| author | Doug Ambrisko <ambrisko@FreeBSD.org> | 2022-06-13 14:56:38 +0000 |
|---|---|---|
| committer | Doug Ambrisko <ambrisko@FreeBSD.org> | 2022-06-13 14:56:38 +0000 |
| commit | 6468cd8e0ef9d1d3331e9de26cd2be59bc778494 (patch) | |
| tree | de845894d534a48f5ec730be4d0474f0c7b57882 /sbin/mount | |
| parent | 9c951734c28914f51b2fe2f2028272b572ade1ee (diff) | |
Diffstat (limited to 'sbin/mount')
| -rw-r--r-- | sbin/mount/mount.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c index 79d9d6cb0caf..bd3d0073c474 100644 --- a/sbin/mount/mount.c +++ b/sbin/mount/mount.c @@ -692,6 +692,13 @@ prmount(struct statfs *sfp) xo_emit("{D:, }{Lw:fsid}{:fsid}", fsidbuf); free(fsidbuf); } + if (sfp->f_nvnodelistsize != 0 || sfp->f_avnodecount != 0) { + xo_open_container("vnodes"); + xo_emit("{D:, }{Lwc:vnodes}{Lw:count}{w:count/%ju}{Lw:active}{:active/%ju}", + (uintmax_t)sfp->f_nvnodelistsize, + (uintmax_t)sfp->f_avnodecount); + xo_close_container("vnodes"); + } } xo_emit("{D:)}\n"); } |
