In message <[EMAIL PROTECTED]>, Joerg Wunsch writes:
>Included an old disk into a running system. Want to install a new
>label onto it:
>
>uncle# disklabel -Brw da0 auto
>disklabel: ioctl DIOCSDINFO: open partition would move or shrink
>
>Needless to say, there is nothing open at all on it. As i said, an
>old disk that incidentally has a BSD label on it. It could have had a
>Sun label, a stale fdisk table, or whatever on it.
>
>Needless to say, it doesn't allow me to dd /dev/zero over it, as i
>could do in any FreeBSD version until now.
Hang on.
If no disk partitions of any kind are open, there is nothing which
prevents you from doing a "dd if=/dev/zero of=/dev/da0 bs=64k".
Now, if you tell me you tried
dd if=/dev/zero of=/dev/da0c bs=64k
it would stop you (notice ^)
If you still cannot erase the disk with dd(1), please send me
the output of
sysctl -b kern.geom.confxml
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message