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