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 -- [EMAIL PROTECTED] / [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message