summaryrefslogtreecommitdiffstats
path: root/sbin/dumpfs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-06-27 10:05:14 +0000
committerphk <phk@FreeBSD.org>1999-06-27 10:05:14 +0000
commitbf2ed79d27cde8e8edd1d4d005fd2310c6d686f5 (patch)
tree4d4f9d3db4b6beb05c664933b39f46a115968e91 /sbin/dumpfs
parent92b7206e3f571e0cd26f3264a0f58d55d22c7930 (diff)
downloadFreeBSD-src-bf2ed79d27cde8e8edd1d4d005fd2310c6d686f5.zip
FreeBSD-src-bf2ed79d27cde8e8edd1d4d005fd2310c6d686f5.tar.gz
Print out the fs_id field.
Diffstat (limited to 'sbin/dumpfs')
-rw-r--r--sbin/dumpfs/dumpfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/dumpfs/dumpfs.c b/sbin/dumpfs/dumpfs.c
index 3aaea24..c8d6f57 100644
--- a/sbin/dumpfs/dumpfs.c
+++ b/sbin/dumpfs/dumpfs.c
@@ -42,7 +42,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)dumpfs.c 8.5 (Berkeley) 4/29/95";
#endif
static const char rcsid[] =
- "$Id$";
+ "$Id: dumpfs.c,v 1.10 1998/06/15 07:00:01 charnier Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -135,6 +135,7 @@ dumpfs(name)
dev_bsize = afs.fs_fsize / fsbtodb(&afs, 1);
printf("magic\t%x\ttime\t%s", afs.fs_magic,
ctime(&afs.fs_time));
+ printf("id\t[ %x %x ]\n", afs.fs_id[0], afs.fs_id[1]);
printf("cylgrp\t%s\tinodes\t%s\n",
afs.fs_postblformat == FS_42POSTBLFMT ? "static" : "dynamic",
afs.fs_inodefmt < FS_44INODEFMT ? "4.2/4.3BSD" : "4.4BSD");
OpenPOWER on IntegriCloud