From owner-freebsd-geom@FreeBSD.ORG Fri May 28 07:31:00 2010 Return-Path: Delivered-To: geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D34B8106566C for ; Fri, 28 May 2010 07:31:00 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 17A788FC1F for ; Fri, 28 May 2010 07:30:59 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id KAA05787; Fri, 28 May 2010 10:15:35 +0300 (EEST) (envelope-from avg@icyb.net.ua) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1OHtn5-00029M-Ec; Fri, 28 May 2010 10:15:35 +0300 Message-ID: <4BFF6D97.7070904@icyb.net.ua> Date: Fri, 28 May 2010 10:15:35 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.24 (X11/20100321) MIME-Version: 1.0 To: Garrett Cooper References: In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: geom@freebsd.org Subject: Re: Getting useful diagnostics from geom(8) and friends X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 May 2010 07:31:00 -0000 on 28/05/2010 00:48 Garrett Cooper said the following: > Hi again geom folks, > I tried executing the following commands in a script to create a > clean MBR partition and it's not clear to me where I'm messing up with > the process in the first step: > > % gpart add -b 34 -s 128 -t freebsd ad4 # exits with a non-zero code > gpart: 22 geom 'ad4' > > % gpart create -s MBR ad4 > gpart: 22 scheme 'MBR' What version of FreeBSD is this? I get much friendlier diagnostics on head and stable/8. -- Andriy Gapon