Date: Tue, 1 Jul 2003 08:20:11 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: John Hay <jhay@icomtek.csir.co.za> Cc: current@freebsd.org Subject: Re: should fdisk -BI still work? Message-ID: <20030701152011.GA14768@Odin.AC.HMC.Edu> In-Reply-To: <20030701091548.GA63084@zibbi.icomtek.csir.co.za> References: <20030701091548.GA63084@zibbi.icomtek.csir.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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. -- Brooks -- 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/AaaqXY6L6fI4GtQRAiTsAJ9fwhs79V++3GCJrR4wnklDKs10igCbBMfs LbdoxRlm+K1SCxlJqKkCr7w= =/aNj -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030701152011.GA14768>
