Date: Wed, 7 Mar 2012 15:55:56 GMT From: Andreas Longwitz <longwitz@incore.de> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/165821: missing "-J" in "dumpfs -m" for gjournal file systems Message-ID: <201203071555.q27FtuTE074199@red.freebsd.org> Resent-Message-ID: <201203071600.q27G0RET023631@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 165821 >Category: bin >Synopsis: missing "-J" in "dumpfs -m" for gjournal file systems >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 07 16:00:27 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Andreas Longwitz >Release: FreeBSD 8.2-STABLE >Organization: Data Service Stockelsdorf >Environment: FreeBSD dsssrvt2.incore 8.2-STABLE FreeBSD 8.2-STABLE #0: Wed Feb 22 14:47:19 CET 2012 root@dsssrvt2.incore:/usr/obj/usr/src/sys/SERVER64 amd64 >Description: The command dumpfs -m fs for a gjournal file system fs does not put "-J" to his output. >How-To-Repeat: >Fix: --- sbin/dumpfs/dumpfs.c.orig 2012-01-26 12:41:54.000000000 +0100 +++ sbin/dumpfs/dumpfs.c 2012-03-07 16:41:48.000000000 +0100 @@ -408,6 +408,8 @@ printf("-O %d ", disk.d_ufs); if (fs->fs_flags & FS_DOSOFTDEP) printf("-U "); + if (fs->fs_flags & FS_GJOURNAL) + printf("-J "); printf("-a %d ", fs->fs_maxcontig); printf("-b %d ", fs->fs_bsize); /* -c is dumb */ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203071555.q27FtuTE074199>