summaryrefslogtreecommitdiffstats
path: root/sbin/dumpfs
diff options
context:
space:
mode:
authorgordon <gordon@FreeBSD.org>2003-02-01 04:17:10 +0000
committergordon <gordon@FreeBSD.org>2003-02-01 04:17:10 +0000
commitf340c1ac9e703e24d41cc4afe89b152b2cf7ebfa (patch)
tree2d33c52f2fec2a53d09438d913937daf82c605e6 /sbin/dumpfs
parenta7fd524f8e3d3856a304114d97f9450fc2645b58 (diff)
downloadFreeBSD-src-f340c1ac9e703e24d41cc4afe89b152b2cf7ebfa.zip
FreeBSD-src-f340c1ac9e703e24d41cc4afe89b152b2cf7ebfa.tar.gz
Bring in support for volume labels to the filesystem utilities.
Reviewed by: mckusick
Diffstat (limited to 'sbin/dumpfs')
-rw-r--r--sbin/dumpfs/dumpfs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sbin/dumpfs/dumpfs.c b/sbin/dumpfs/dumpfs.c
index 71b05e9..19f8795 100644
--- a/sbin/dumpfs/dumpfs.c
+++ b/sbin/dumpfs/dumpfs.c
@@ -237,6 +237,9 @@ dumpfs(const char *name)
if (fsflags != 0)
printf("unknown flags (%#x)", fsflags);
putchar('\n');
+ printf("fsmnt\t%s\n", afs.fs_fsmnt);
+ printf("volname\t%s\tswuid\t%qu\n",
+ afs.fs_volname, afs.fs_swuid);
printf("\ncs[].cs_(nbfree,ndir,nifree,nffree):\n\t");
afs.fs_csp = calloc(1, afs.fs_cssize);
if (bread(&disk, fsbtodb(&afs, afs.fs_csaddr), afs.fs_csp, afs.fs_cssize) == -1)
OpenPOWER on IntegriCloud