From owner-freebsd-stable@FreeBSD.ORG Sat Feb 25 16:56:26 2012 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 5E1D3106564A for ; Sat, 25 Feb 2012 16:56:26 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id DF1188FC08 for ; Sat, 25 Feb 2012 16:56:25 +0000 (UTC) Received: by wgbdq11 with SMTP id dq11so2858895wgb.31 for ; Sat, 25 Feb 2012 08:56:24 -0800 (PST) Received-SPF: pass (google.com: domain of kob6558@gmail.com designates 10.180.80.71 as permitted sender) client-ip=10.180.80.71; Authentication-Results: mr.google.com; spf=pass (google.com: domain of kob6558@gmail.com designates 10.180.80.71 as permitted sender) smtp.mail=kob6558@gmail.com; dkim=pass header.i=kob6558@gmail.com Received: from mr.google.com ([10.180.80.71]) by 10.180.80.71 with SMTP id p7mr14025800wix.10.1330188984976 (num_hops = 1); Sat, 25 Feb 2012 08:56:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=+U8o5V7h2v020CtTkTUtPmamO1mnLKNEIPcfWGxiPdk=; b=T/wY987/vzPX5/7UhfPgbh/ReAt9Ifry+sG5nszJttubPVO17iULc+5isXHqV81RML HxSdWvV6OPcqCdecRF4hciA1cuqexnv0ZTeYqSrXi3JfGqMTH7jNKAY+GdpRbkflqn28 EIj0q4pr4sJYiAvWGTidnsj017SVlfPpH/rcc= MIME-Version: 1.0 Received: by 10.180.80.71 with SMTP id p7mr11202486wix.10.1330188984879; Sat, 25 Feb 2012 08:56:24 -0800 (PST) Received: by 10.223.16.82 with HTTP; Sat, 25 Feb 2012 08:56:24 -0800 (PST) In-Reply-To: <201202251027.q1PARURH021975@mp.cs.niu.edu> References: <201202251027.q1PARURH021975@mp.cs.niu.edu> Date: Sat, 25 Feb 2012 08:56:24 -0800 Message-ID: From: Kevin Oberman To: Scott Bennett Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Erich Dollansky , freebsd-stable@freebsd.org Subject: Re: random problem with 8.3 from yesterday 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: Sat, 25 Feb 2012 16:56:26 -0000 On Sat, Feb 25, 2012 at 2:27 AM, Scott Bennett wrote: > =A0 =A0 On Wed, 22 Feb 2012 13:34:36 +0700 Erich Dollansky > wrote: > >>I got a new thumb drive which was FAT formatted. I use this script to cha= nge this: >> >>!/bin/tcsh >># >># This script format a thumb drive connected to USB as da0. >># >>printf "You have to run this script as 'root' to succeed.\n" >>printf "Warning this script will delete all your data from /dev/da0. Cont= inue? > " >>set Eingabe =3D $< >>if ("$Eingabe" =3D=3D "y") then >> =A0 printf "\nDeleting the device " >> =A0 dd if=3D/dev/zero of=3D/dev/da0 bs=3D1k count=3D1 >> =A0 printf "\nWriting the BSD label " >> =A0 bsdlabel -Bw da0 auto > > =A0 =A0 Hmmm...so no MBR and no GPT either? =A0Just the bare device? =A0I= guess > I haven't tried that, so I don't know what that would do. Call me a bit confused, but I thought -B did write an MBR. It always has seemed to do so for me, at any rate. From man bsdlabel: "Installing Bootstraps If the -B option is specified, bootstrap code will be read from the fi= le /boot/boot and written to the disk." Or am I not understanding something? --=20 R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com