partition oddity

Sascha Wildner saw at online.de
Sun May 18 18:30:02 PDT 2008


Matthew Dillon wrote:
    You can zero out the disk slice using e.g. ad8s2 (which is access without
    going through the label and thus is able to overwrite the label), but
    if you access it via a partition in the label and the partition starts
    at sector 0, e.g. ad8s2d, then that chunk at the beginning containing
    the label itself will be read-only by default.
Hmm, unfortunately, using ad8s2 alone gives the same result:

zoot# dd if=/dev/zero of=/dev/ad8s2
dd: /dev/ad8s2: Read-only file system
1+0 records in
0+0 records out
0 bytes transferred in 0.003719 secs (0 bytes/sec)
--
http://yoyodyne.ath.cx




More information about the Bugs mailing list