>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:
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to