Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/dumpfs Display fs_maxfilesize, and clean up some ot...



details:   https://anonhg.NetBSD.org/src/rev/0173f9064943
branches:  trunk
changeset: 471608:0173f9064943
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Mon Apr 05 19:54:45 1999 +0000

description:
Display fs_maxfilesize, and clean up some other formatting.

diffstat:

 usr.sbin/dumpfs/dumpfs.c |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (44 lines):

diff -r 9bb8ad33225b -r 0173f9064943 usr.sbin/dumpfs/dumpfs.c
--- a/usr.sbin/dumpfs/dumpfs.c  Mon Apr 05 19:19:34 1999 +0000
+++ b/usr.sbin/dumpfs/dumpfs.c  Mon Apr 05 19:54:45 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dumpfs.c,v 1.18 1998/08/27 20:31:00 ross Exp $ */
+/*     $NetBSD: dumpfs.c,v 1.19 1999/04/05 19:54:45 mycroft Exp $      */
 
 /*
  * Copyright (c) 1983, 1992, 1993
@@ -43,7 +43,7 @@
 #if 0
 static char sccsid[] = "@(#)dumpfs.c   8.5 (Berkeley) 4/29/95";
 #else
-__RCSID("$NetBSD: dumpfs.c,v 1.18 1998/08/27 20:31:00 ross Exp $");
+__RCSID("$NetBSD: dumpfs.c,v 1.19 1999/04/05 19:54:45 mycroft Exp $");
 #endif
 #endif /* not lint */
 
@@ -142,9 +142,9 @@
 #else
        if (!needswap)
 #endif
-               printf("Endian big-endian ");
+               printf("endian\tbig-endian\n");
        else
-               printf("Endian little-endian ");
+               printf("endian\tlittle-endian\n");
        if (afs.fs_postblformat == FS_42POSTBLFMT)
                afs.fs_nrpos = 8;
        dev_bsize = afs.fs_fsize / fsbtodb(&afs, 1);
@@ -189,11 +189,12 @@
        printf("symlinklen %d\ttrackskew %d\tinterleave %d\tcontigsumsize %d\n",
            afs.fs_maxsymlinklen, afs.fs_trackskew, afs.fs_interleave,
            afs.fs_contigsumsize);
+       printf("maxfilesize 0x%016qx\n", afs.fs_maxfilesize);
        printf("nindir\t%d\tinopb\t%d\tnspf\t%d\n",
            afs.fs_nindir, afs.fs_inopb, afs.fs_nspf);
        printf("sblkno\t%d\tcblkno\t%d\tiblkno\t%d\tdblkno\t%d\n",
            afs.fs_sblkno, afs.fs_cblkno, afs.fs_iblkno, afs.fs_dblkno);
-       printf("sbsize\t%d\tcgsize\t%d\tcgoffset %d\tcgmask\t0x%08x\n",
+       printf("sbsize\t%d\tcgsize\t%d\toffset\t%d\tmask\t0x%08x\n",
            afs.fs_sbsize, afs.fs_cgsize, afs.fs_cgoffset, afs.fs_cgmask);
        printf("csaddr\t%d\tcssize\t%d\tshift\t%d\tmask\t0x%08x\n",
            afs.fs_csaddr, afs.fs_cssize, afs.fs_csshift, afs.fs_csmask);



Home | Main Index | Thread Index | Old Index