diff --git a/sbin/mount/mount.8 b/sbin/mount/mount.8 index 7635d7460024..104b248f2708 100644 --- a/sbin/mount/mount.8 +++ b/sbin/mount/mount.8 @@ -469,6 +469,12 @@ or option. .It Fl v Verbose mode. +If the +.Fl v +is used alone, show all file systems, including those that were mounted with the +.Dv MNT_IGNORE +flag and show additional information about each file system (including fsid +when run by root). .It Fl w The file system object is to be read and write. .El diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c index 40a3e96e9a98..0bd553377bb0 100644 --- a/sbin/mount/mount.c +++ b/sbin/mount/mount.c @@ -348,6 +348,9 @@ main(int argc, char *argv[]) if (checkvfsname(mntbuf[i].f_fstypename, vfslist)) continue; + if (!verbose && + (mntbuf[i].f_flags & MNT_IGNORE) != 0) + continue; prmount(&mntbuf[i]); } }