From owner-freebsd-current@FreeBSD.ORG Sun May 3 22:43:03 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB2141065670 for ; Sun, 3 May 2009 22:43:03 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [217.170.79.85]) by mx1.freebsd.org (Postfix) with ESMTP id 872BE8FC12 for ; Sun, 3 May 2009 22:43:03 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1M0kOj-0001a5-Bd for freebsd-current@freebsd.org; Mon, 04 May 2009 02:43:01 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 7958EB84D for ; Mon, 4 May 2009 02:41:46 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id B6BE4108841; Mon, 4 May 2009 02:42:05 +0400 (MSD) Date: Mon, 4 May 2009 02:42:05 +0400 From: Dmitry Marakasov To: freebsd-current@freebsd.org Message-ID: <20090503224205.GB1414@hades.panopticon> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) Subject: geom_part X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 May 2009 22:43:04 -0000 Hi! I've upgraded one of my boxes to current recently and ran into some problems with new geom_part. First, it's impossible to edit bsd label online. # bsdlabel -e /dev/ad8 [edit] bsdlabel: Class not found re-edit the label? [y]: Setting sysctl kern.geom.debugflags to 16 helps. Next, it's no longer possible to use nested configuration. If I add bsd label to, say, /dev/ad8f, no subpartitions (ad8fa, ad8fd ...) will be shown. They pop up after loading geom_bsd. Finally, seems like bsd label support is broken: # bsdlabel /dev/ad8 # /dev/ad8: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 2097152 0 4.2BSD 2048 16384 28528 b: 20971520 2097152 swap c: 390721968 0 unused 0 0 # "raw" part, don't edit d: 20971520 23068672 4.2BSD 2048 16384 28528 e: 2097152 44040192 4.2BSD 2048 16384 28528 f: 20971520 46137344 4.2BSD 2048 16384 28528 g: 41943040 67108864 unused 0 0 h: 281670064 109051904 unused 0 0 # ls /dev/ad8* /dev/ad8 /dev/ad8b /dev/ad8e /dev/ad8g /dev/ad8a /dev/ad8d /dev/ad8f No h partition! -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru