bin/47566: Suggested patch: vinum status verification

Andy Farkas andyf at
Mon Jul 14 06:47:26 PDT 2003

On Mon, 14 Jul 2003, Kris Kennaway wrote:

> Responsible-Changed-From-To: freebsd-bugs->grog
> Responsible-Changed-By: kris
> Responsible-Changed-When: Mon Jul 14 03:17:04 PDT 2003
> Responsible-Changed-Why:
> Assign to vinum author

I like this patch and have been using it for a couple of months on a few
boxes. I have seen it report actual vinum errors which helped diagnose
problems on a box that was playing up here.

There is one error, the diff is backwards:

@@ -33,7 +33,7 @@
             [ $rc -lt 1 ] && rc=1
             echo "$host vinum diffs:"
-            diff -u $bak/vinum.tmp $bak/vinum.bak
+            diff -u $bak/vinum.bak $bak/vinum.tmp
             mv $bak/vinum.bak $bak/vinum.bak2
             mv $bak/vinum.tmp $bak/vinum.bak


 :{ andyf at

        Andy Farkas
    System Administrator
   Speednet Communications

More information about the freebsd-bugs mailing list