diff options
author | gordon <gordon@FreeBSD.org> | 2003-02-01 04:17:10 +0000 |
---|---|---|
committer | gordon <gordon@FreeBSD.org> | 2003-02-01 04:17:10 +0000 |
commit | f340c1ac9e703e24d41cc4afe89b152b2cf7ebfa (patch) | |
tree | 2d33c52f2fec2a53d09438d913937daf82c605e6 /sbin/dumpfs | |
parent | a7fd524f8e3d3856a304114d97f9450fc2645b58 (diff) | |
download | FreeBSD-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.c | 3 |
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) |