From owner-freebsd-doc@FreeBSD.ORG Thu Feb 24 12:09:03 2011 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7E771065670 for ; Thu, 24 Feb 2011 12:09:03 +0000 (UTC) (envelope-from sukhoy@iruno.ripn.net) Received: from iruno.ripn.net (iruno.ripn.net [194.226.71.76]) by mx1.freebsd.org (Postfix) with ESMTP id 7BE7A8FC14 for ; Thu, 24 Feb 2011 12:09:03 +0000 (UTC) Received: from sukhoy by iruno.ripn.net with esmtp (RIPN) id 1PsZqN-000I6P-3d; Thu, 24 Feb 2011 14:58:51 +0300 From: Pavel Sukhoy Organization: RU-Center To: freebsd-doc@freebsd.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Message-Id: <201102241458.45129.sukhoy@nic.ru> X-Virus-Scanned: ClamAV Date: Thu, 24 Feb 2011 14:58:51 +0300 Cc: Subject: "Handbook / Chapter 19 GEOM" question X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 12:09:03 -0000 Hello all, Could you tell me some clarifications about section "19.4.1 Mirroring Primary Disks"? In this section I see sample command: # sysctl kern.geom.debugflags=17 but I can't understand why this kernel tunable should be 17? If I will look through the /usr/src/sys/geom/geom_kern.c I will see this: "... TUNABLE_INT("kern.geom.debugflags", &g_debugflags); ..." and in /usr/src/sys/geom/geom_subr.c I will see this: "... /* If foot-shooting is enabled, any open on rank#1 is OK */ if ((g_debugflags & 16) && pp->geom->rank == 1); ..." So I think that it should be 16 or I looked for it in inappropriate files. Thank you beforehand. -- With best regards, Pavel Sukhoy