*BSD News Article 80670


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!news.ececs.uc.edu!news.kei.com!newsfeed.internetmci.com!news.sgi.com!mr.net!uunet!news-in2.uu.net!EU.net!main.Germany.EU.net!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Recovering block special file
Date: 12 Oct 1996 12:18:14 GMT
Organization: Private BSD site, Dresden
Lines: 27
Message-ID: <53o2a6$8p4@uriah.heep.sax.de>
References: <f92fccdc&AARF0No8M2@cuckoo.glas.apc.org>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

nebo@glasnet.ru wrote:

> $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

> 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"?

This _is_ the problem.

cd /dev
rm wd0a
mknod wd0a b 0 0

(Or use the MAKEDEV script there.)
-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)