Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jan 2012 08:51:24 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r230568 - stable/8/sys/geom/part
Message-ID:  <201201260851.q0Q8pO3f073097@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ae
Date: Thu Jan 26 08:51:23 2012
New Revision: 230568
URL: http://svn.freebsd.org/changeset/base/230568

Log:
  Disable integrity checks by default. It will warn users about found
  problems, but will not reject partition tables.
  
  This is direct commit to stable/8.

Modified:
  stable/8/sys/geom/part/g_part.c

Modified: stable/8/sys/geom/part/g_part.c
==============================================================================
--- stable/8/sys/geom/part/g_part.c	Thu Jan 26 08:47:29 2012	(r230567)
+++ stable/8/sys/geom/part/g_part.c	Thu Jan 26 08:51:23 2012	(r230568)
@@ -107,10 +107,10 @@ struct g_part_alias_list {
 
 SYSCTL_DECL(_kern_geom);
 SYSCTL_NODE(_kern_geom, OID_AUTO, part, CTLFLAG_RW, 0, "GEOM_PART stuff");
-static u_int check_integrity = 1;
+static u_int check_integrity = 0;
 TUNABLE_INT("kern.geom.part.check_integrity", &check_integrity);
 SYSCTL_UINT(_kern_geom_part, OID_AUTO, check_integrity, CTLFLAG_RW,
-    &check_integrity, 1, "Enable integrity checking");
+    &check_integrity, 0, "Enable integrity checking");
 
 /*
  * The GEOM partitioning class.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201260851.q0Q8pO3f073097>