From owner-freebsd-current@FreeBSD.ORG Wed Jul 2 06:54:09 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E33D37B401 for ; Wed, 2 Jul 2003 06:54:09 -0700 (PDT) Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1371643F85 for ; Wed, 2 Jul 2003 06:54:04 -0700 (PDT) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: from zibbi.icomtek.csir.co.za (localhost [IPv6:::1]) h62Drt5v015092; Wed, 2 Jul 2003 15:53:56 +0200 (SAST) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.12.9/8.12.9/Submit) id h62DrrbG015091; Wed, 2 Jul 2003 15:53:53 +0200 (SAST) (envelope-from jhay) Date: Wed, 2 Jul 2003 15:53:52 +0200 From: John Hay To: Brooks Davis Message-ID: <20030702135352.GA14921@zibbi.icomtek.csir.co.za> References: <20030701091548.GA63084@zibbi.icomtek.csir.co.za> <20030701152011.GA14768@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030701152011.GA14768@Odin.AC.HMC.Edu> User-Agent: Mutt/1.4i cc: John Hay cc: current@freebsd.org Subject: Re: should fdisk -BI still work? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 02 Jul 2003 13:54:09 -0000 On Tue, Jul 01, 2003 at 08:20:11AM -0700, Brooks Davis wrote: > On Tue, Jul 01, 2003 at 11:15:49AM +0200, John Hay wrote: > > Hi, > > > > Should "fdisk -BI ad0" still work on current? I have a script that I use > > to prepare flash disks that have worked for a long time on older versions > > of FreeBSD, but it seems a little broken on -current. It actually started > > with the one from Warner's site people.../~imp/diskprep.pl and tweaked it > > over time to keep it running. > > > > On current I get an error when doing "fdisk -BI ad0": > > > > fdisk: invalid fdisk partition table found > > > > So how is one supposed to create a FreeBSD slice nowadays from a script? > > I'm not using -BI, but I am using -I in a version of diskprep. Are you > sure you don't have any slices (or partitions inside those slices) open? > I remember getting all sorts of weird errors when I forgot about that > while developing my new scripts. Sorry guys, false alarm. There was something wrong with that flash disk. It probed ok, but ignored writes to the first sector. :-/ I tried with a different one and it is working now. John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org