*BSD News Article 80631


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!newspump.sol.net!ddsw1!news.mcs.net!www.nntp.primenet.com!nntp.primenet.com!news.mathworks.com!EU.net!usenet2.news.uk.psi.net!uknet!usenet1.news.uk.psi.net!uknet!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!usenet
From: brian@anorak.coverform.lan (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Recovering block special file
Date: 13 Oct 1996 16:45:17 GMT
Organization: Coverform Ltd.
Lines: 30
Message-ID: <53r6at$a7@anorak.coverform.lan>
References: <f92fccdc&AARF0No8M2@cuckoo.glas.apc.org>
Reply-To: brian@awfulhak.demon.co.uk
NNTP-Posting-Host: anorak.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8

In article <f92fccdc&AARF0No8M2@cuckoo.glas.apc.org>,
	nebo@glasnet.ru writes:
> From: nebo@glasnet.ru (Vlad D. Nebolsin)
> 
> Hello,
> 
> after huge crash when I have tried to mount dos partition over 512Mb on
> FreeBSD 2.1.0-RELEASE, my /dev/wd0a file was corrupted and now I cannot
> boot from my first disk (wd0a is my root patrition):
> 
> $ls -al /dev/wd0*
> 
> brw-r-----  1 root  operator    0, 65538 Aug 26 02:06 wd0
> crw-r-----  2 root  operator    3, 196618 Aug 26 15:54 wd0a
> ^
[.....]
>                    The question is how to restore my original
> /dev/wd0a file type "block special file"?

you can

    cd /dev
    sh ./MAKEDEV std

But you may have other problems after this sort of crash !  Nasty !

-- 
Brian <brian@awfulhak.demon.co.uk>
      <http://www.awfulhak.demon.co.uk/>
Don't _EVER_ lose your sense of humour....