Date: Sat, 2 Nov 2002 10:50:42 +0200 (SAT) From: John Hay <jhay@icomtek.csir.co.za> To: current@freebsd.org Cc: phk@freebsd.org Subject: fdisk -BI ob clean disk broken Message-ID: <200211020850.gA28ohm4086473@zibbi.icomtek.csir.co.za>
next in thread | raw e-mail | index | archive | help
On 4.x I have been using a slightly modified version of Warner's diskprep
to write new compact flashes. On -current fdisk die with signal 8 (Floating
point exception) when this part of the script runs:
$dev = "/dev/r${drive}";
system "/bin/dd if=/dev/zero of=$dev count=128 > /dev/null 2>&1";
system "/sbin/fdisk -BI $drive";
$dev is normally da0, which is the compact flash plugged into a Sandisk
usb CF reader.
So is there a better way in the GEOM world to achieve the same thing?
John
--
John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211020850.gA28ohm4086473>
