partition oddity

Sascha Wildner saw at online.de
Sun May 18 00:10:08 PDT 2008


Matthew Dillon wrote:
:zoot# mount | grep ad8s2d
:zoot# dd if=/dev/zero of=/dev/ad8s2d
:dd: /dev/ad8s2d: Read-only file system
:1+0 records in
:0+0 records out
:0 bytes transferred in 0.009650 secs (0 bytes/sec)
:
:Sascha
:
:-- 
:http://yoyodyne.ath.cx

    That's odd.  Is /dev or / mounted read-only?  What about the modes
    on /dev/ad8s2d ?   If you do a fresh boot (i.e. never having tried to
    mount anything using that device), and then issue the dd, does it
    work differently?
    Does disklabel recognize the disk?

    Also try regenerating the /dev entry for ad8s2.

    cd /dev
    ./MAKEDEV ad8
    ./MAKEDEV ad8s2
    ./MAKEDEV ad8s2a
Hmm,

I tried most of this, all negative.

However, I _do_ have some partitions of the ad8s1 slice mounted (/, 
/usr, etc.). Could it be because of this? I would think this shouldn't 
affect partitions on ad8's other slices, right?

I'll try later from a LiveCD.

Sascha

--
http://yoyodyne.ath.cx




More information about the Bugs mailing list