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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 17 May 2008 23:07:31 -0700 (PDT)

:...
:> 
:>     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@backplane.com>



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