diff options
author | julian <julian@FreeBSD.org> | 1998-03-08 09:59:44 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 1998-03-08 09:59:44 +0000 |
commit | 10c5ccc30ae8155c4d8bd25aeffd9ed0e476c387 (patch) | |
tree | d2ed60b6b9462fe6eebf4796c39dfcf3cec39874 /sbin/mount | |
parent | 1d108bde84c6b5fa5d119363c4f401cc3dcc8110 (diff) | |
download | FreeBSD-src-10c5ccc30ae8155c4d8bd25aeffd9ed0e476c387.zip FreeBSD-src-10c5ccc30ae8155c4d8bd25aeffd9ed0e476c387.tar.gz |
Reviewed by: dyson@freebsd.org (john Dyson), dg@root.com (david greenman)
Submitted by: Kirk McKusick (mcKusick@mckusick.com)
Obtained from: WHistle development tree
Diffstat (limited to 'sbin/mount')
-rw-r--r-- | sbin/mount/mount.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c index 93b7e14..f4ee239 100644 --- a/sbin/mount/mount.c +++ b/sbin/mount/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: mount.c,v 1.21 1997/11/13 00:28:49 julian Exp $"; + "$Id: mount.c,v 1.22 1998/02/13 04:54:27 bde Exp $"; #endif #endif /* not lint */ @@ -98,6 +98,7 @@ static struct opt { { MNT_NOCLUSTERR, "noclusterr" }, { MNT_NOCLUSTERW, "noclusterw" }, { MNT_SUIDDIR, "suiddir" }, + { MNT_SOFTDEP, "soft-updates" }, { NULL } }; @@ -495,7 +496,8 @@ prmount(sfp) else (void)printf("%d", sfp->f_owner); } - (void)printf(f ? ")\n" : "\n"); + (void)printf("%swrites: sync %d async %d)\n", !f++ ? " (" : ", ", + sfp->f_syncwrites, sfp->f_asyncwrites); } struct statfs * @@ -602,6 +604,8 @@ putfsent(ent) printf(",noclusterr"); if (ent->f_flags & MNT_NOCLUSTERW) printf(",noclusterw"); + if (ent->f_flags & MNT_SUIDDIR) + printf(",suiddir"); if ((fst = getfsspec(ent->f_mntfromname))) printf("\t%u %u\n", fst->fs_freq, fst->fs_passno); |