*BSD News Article 80322


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!cancer.vividnet.com!hunter.premier.net!feed1.news.erols.com!howland.erols.net!newsfeed.internetmci.com!demos!news.glas.apc.org!glas!not-for-mail
From: nebo@glasnet.ru
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Recovering block special file
Message-ID: <f92fccdc&AARF0No8M2@cuckoo.glas.apc.org>
Date: 09 Oct 1996 23:45:42
X-Gateway: notes@glas.apc.org
Lines: 28

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
^
brw-r-----  1 root  operator    0,   1 Aug 26 02:06 wd0b
brw-r-----  1 root  operator    0,   2 Aug 26 02:06 wd0c
brw-r-----  1 root  operator    0,   3 Aug 26 02:06 wd0d
brw-r-----  1 root  operator    0,   4 Aug 26 02:06 wd0e
brw-r-----  1 root  operator    0,   5 Aug 26 02:06 wd0f
brw-r-----  1 root  operator    0,   6 Aug 26 02:06 wd0g
brw-r-----  1 root  operator    0,   7 Aug 26 02:06 wd0h

I've noticed "c" flag instead "b" in type definition of the file, maybe
there's a problem? The question is how to restore my original
/dev/wd0a file type "block special file"?

Sincerely,
Vlad.