Thomas Nikolajsen <[email protected]> added the comment:

Patch supplied in prev. message didn't solve problem:
after applying patch disk slice is read-only after 'disklabel -W <slice>',
so dd fails (trying to zero initial part of slice).

Details on disk/slice:
fdisk -i ad4                # install MBR
disklabel64 -rw ad4s2 auto  # initially (slice empty) succeeds
disklabel64 -W ad4s2
dd if=/dev/zero of=/dev/ad4s2 bs=512 count=32  # succeedes on master; fails w/ 
patch (issue1667 Feb. 9th 2010) (read-only)
disklabel32 -rw ad4s2 auto  # fails 'disk already has a label of a different 
type'
disklabel64 ad4s2           # shows 64-bit label

 -thomas

_____________________________________________________
DragonFly issue tracker <[email protected]>
<http://bugs.dragonflybsd.org/issue1667>
_____________________________________________________

Reply via email to