partition oddity

Matthew Dillon dillon at apollo.backplane.com
Sat May 17 23:08:57 PDT 2008


:...
:> 
:>     That is the error you usually get if the partition in question is
:>     still mounted.
:
:Yeah but it isn't.
:
: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

					-Matt
					Matthew Dillon 
					<dillon at backplane.com>





More information about the Bugs mailing list