From owner-freebsd-current@FreeBSD.ORG Tue Jul 1 08:20:21 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 16C0437B401 for ; Tue, 1 Jul 2003 08:20:21 -0700 (PDT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5009243FEA for ; Tue, 1 Jul 2003 08:20:20 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.9/8.12.3) with ESMTP id h61FKIq7018683; Tue, 1 Jul 2003 08:20:18 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.9/8.12.3/Submit) id h61FKBLC018630; Tue, 1 Jul 2003 08:20:11 -0700 Date: Tue, 1 Jul 2003 08:20:11 -0700 From: Brooks Davis To: John Hay Message-ID: <20030701152011.GA14768@Odin.AC.HMC.Edu> References: <20030701091548.GA63084@zibbi.icomtek.csir.co.za> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3V7upXqbjpZ4EhLz" Content-Disposition: inline In-Reply-To: <20030701091548.GA63084@zibbi.icomtek.csir.co.za> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu 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: Tue, 01 Jul 2003 15:20:21 -0000 --3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 01, 2003 at 11:15:49AM +0200, John Hay wrote: > Hi, >=20 > 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. >=20 > On current I get an error when doing "fdisk -BI ad0": >=20 > fdisk: invalid fdisk partition table found >=20 > 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. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --3V7upXqbjpZ4EhLz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/AaaqXY6L6fI4GtQRAiTsAJ9fwhs79V++3GCJrR4wnklDKs10igCbBMfs LbdoxRlm+K1SCxlJqKkCr7w= =/aNj -----END PGP SIGNATURE----- --3V7upXqbjpZ4EhLz--