DragonFly bugs List (threaded) for 2007-05
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: fdisk/disklabel broken for usb sticks ..
:..
:dscheck(#da/0x10002): illegal partition number (2) for WHOLE_DISK_SLICE access
:
:
:fdisk fails to read disk partition table. disklabel is likewise confused.
:
:The stick in question has a standard partition table and one dos partition.
:
:It worked last week.
:
:Should be easily reproducible.
:
:Cheers,
:
:Andrew
You need to do a full buildworld/installworld/upgrade. Make sure you
have the latest MAKEDEV from /usr/src/etc/MAKEDEV, and remake all your
devices. In fact, rm your disk devices before you remake them to be
sure you got them all.
cp /usr/src/etc/MAKEDEV /dev/MAKEDEV
cd /dev
rm da*
./MAKEDEV da0
fdisk will operate on a raw disk. disklabel only operates on a slice.
Any entities that did not have MBR's (were not fdisked) before, but
did have disklabels, can be accessed via slice 0 (e.g. da0s0a instead
of da0a).
-Matt
Matthew Dillon
<dillon@backplane.com>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]