DragonFly bugs List (threaded) for 2008-05
DragonFly BSD
DragonFly bugs List (threaded) for 2008-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: partition oddity


To: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
From: Sascha Wildner <saw@xxxxxxxxx>
Date: Mon, 19 May 2008 03:30:02 +0200

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]