The following reply was made to PR bin/163992; it has been noted by GNATS.

From: Andy Kosela <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: bin/163992: dumpfs(8): dumpfs -m is broken
Date: Thu, 06 Dec 2012 21:19:04 +0100

 This is a multi-part message in MIME format.
 
 --=_50c0fdb8.llS4mBD6t3PrprtFlk3TrGmzKqrbSQX0aw5WEeZ+SgpjW30k
 Content-Type: text/plain; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 I consider this a bug.  Can you test the following patch?
 
 Thanks,
 
 --Andy
 
 --=_50c0fdb8.llS4mBD6t3PrprtFlk3TrGmzKqrbSQX0aw5WEeZ+SgpjW30k
 Content-Type: text/plain;
  charset=us-ascii
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="patch.txt"
 
 Index: dumpfs.c
 ===================================================================
 --- dumpfs.c   (revision 243937)
 +++ dumpfs.c   (working copy)
 @@ -417,7 +417,8 @@
        printf("-f %d ", fs->fs_fsize);
        printf("-g %d ", fs->fs_avgfilesize);
        printf("-h %d ", fs->fs_avgfpdir);
 -      /* -i is dumb */
 +      printf("-i %d ", fs->fs_fsize * ((((fs->fs_fpg / fs->fs_frag) *
 +          fs->fs_bsize) / fs->fs_ipg) / fs->fs_fsize + 1));
        if (fs->fs_flags & FS_SUJ)
                printf("-j ");
        if (fs->fs_flags & FS_GJOURNAL)
 
 --=_50c0fdb8.llS4mBD6t3PrprtFlk3TrGmzKqrbSQX0aw5WEeZ+SgpjW30k--
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to