From owner-freebsd-stable@FreeBSD.ORG Sun Jan 16 20:29:39 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82A0F1065693 for ; Sun, 16 Jan 2011 20:29:39 +0000 (UTC) (envelope-from quakenet1@optusnet.com.au) Received: from mail05.syd.optusnet.com.au (mail05.syd.optusnet.com.au [211.29.132.186]) by mx1.freebsd.org (Postfix) with ESMTP id 05EA68FC22 for ; Sun, 16 Jan 2011 20:29:38 +0000 (UTC) Received: from [192.168.100.21] (c220-239-108-58.belrs4.nsw.optusnet.com.au [220.239.108.58]) by mail05.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id p0GKTZdd016495; Mon, 17 Jan 2011 07:29:36 +1100 Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: Jerahmy Pocott In-Reply-To: <20110116125931.76472050@locust.local> Date: Mon, 17 Jan 2011 07:29:35 +1100 Content-Transfer-Encoding: 7bit Message-Id: <94EE29D5-260E-496E-9E20-DECB220F1370@optusnet.com.au> References: <659F3C99-CA41-4685-B981-115802734D02@optusnet.com.au> <4d329926.9Qq/rSteVFLlBlYm%perryh@pluto.rain.com> <20110116125931.76472050@locust.local> To: Steve Randall X-Mailer: Apple Mail (2.1082) Cc: Warren Block , perryh@pluto.rain.com, freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB Drive not showing up correctly in 8.1 (works in 7.3) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jan 2011 20:29:39 -0000 On 17/01/2011, at 5:59 AM, Steve Randall wrote: > On Sun, 16 Jan 2011 11:00:01 -0700 (MST) > Warren Block wrote: > >> On Sat, 15 Jan 2011, perryh@pluto.rain.com wrote: >> >>> Jerahmy Pocott wrote: >>> >>>> I have a USB Drive that was working fine under 7.3, but since >>>> updating to 8.1 no longer has the correct /dev entries. Under >>>> 7.3 it was da0s1, in 8.1 there is now only da0 and da0a, which >>>> shouldn't exist... >> >> da0s1 is MBR, da0a is "dangerously dedicated". I would not expect >> differences between 7 and 8 USB to show that on an existing drive. If >> the drive was reworked during the 7-to-8 upgrade--maybe with "bsdlabel >> auto"--that would be a more likely explanation. > > The actual explanation is the new geom partitioners introduced in 8.0. > > The disk has an MBR in block 0 and a forgotten BSD label (dangerously > dedicated) in block 1. 8.x sensibly ignores one of them; unfortunately > it ignores the MBR, not the unwanted BSD label. > > The solution is: > > # dd if=/dev/zero of=/dev/da0 seek=1 count=1 Thank you, this does indeed correct the issue.