From owner-freebsd-current@FreeBSD.ORG Mon May 4 09:28:53 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 33525106564A for ; Mon, 4 May 2009 09:28:53 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id B1EF58FC18 for ; Mon, 4 May 2009 09:28:52 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by bwz9 with SMTP id 9so3494404bwz.43 for ; Mon, 04 May 2009 02:28:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=1iK7pgvfNWWTSn8Wj8mNtsCLC9tQ+N0EI6k1VHdR5/E=; b=OfPZrsIhQBAA1p95Bh4lq4R6htjXxsbSBW7jEpPiT9Eb1gzZjTte1MOGOqqntADK9+ aFVE/QLe3IePgBP//zUdmw2KDsdLnR4rMezH1oPEK0J/qEoX18vFGp4ZVXons6QRWpJg uwv1XP0C8Xj9RuuDINq0mN+eR7ubNLdDPbARI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=hZxOk1KmKiF2Y9LVv6oWelBEZSeA/uhZdvvLfsEQi0Wt7xQgccdIZgANkH6XDmNzx/ JwtsZ3rtF8zTxQ7z/YZEYv8oD/9PitO1YfpjCuzhm52LRkc7VBAWXFF4aLMN89J4jW/W 1efkWhlnUt8bGjisJ6uzy3PGq48AIluehFr84= MIME-Version: 1.0 Received: by 10.239.155.13 with SMTP id g13mr285664hbc.7.1241429331553; Mon, 04 May 2009 02:28:51 -0700 (PDT) In-Reply-To: <20090503224205.GB1414@hades.panopticon> References: <20090503224205.GB1414@hades.panopticon> Date: Mon, 4 May 2009 11:28:51 +0200 Message-ID: <3a142e750905040228m7b761be7r872de991c9cd811a@mail.gmail.com> From: "Paul B. Mahol" To: Dmitry Marakasov Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: 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: Mon, 04 May 2009 09:28:53 -0000 On 5/4/09, Dmitry Marakasov wrote: > 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]: > bsdlabel, fdisk and others no longer works correctly, use gpart(8) instead. If you really want to still use bsdlabel and fdisk you need custom kernel without geom_part* note that geom_bsd and geom_mbr are going to be removed soon from CURRENT(because they are not used anymore). > 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 > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- Paul