*BSD News Article 12292


Return to BSD News archive

Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!usc!hela.iti.org!cs.widener.edu!dsinc!ub!acsu.buffalo.edu!ferrick
From: ferrick@acsu.buffalo.edu (Pat Ferrick)
Newsgroups: comp.unix.bsd
Subject: mknod / fsck question
Message-ID: <C3Fson.AL7@acsu.buffalo.edu>
Date: 5 Mar 93 22:19:34 GMT
References: <731352823.5272@minster.york.ac.uk>
Sender: nntp@acsu.buffalo.edu
Organization: UB
Lines: 21
Nntp-Posting-Host: cookiemonster.cc.buffalo.edu

While trying to use "mknod /dev/nrst2 c 13 17" to create a no-rewind tape 
device, I got a panic and a quick reboot.  Ugh.

Then, fsck shows two files that apparently need to go away.  But even when 
I run fsck manually, and answer "yes" to the CLEAR? [y/n] it doesn't
seem to happen.  It exits with a line reporting the number of files and
blocks and such, but the two problem inodes are always there on bootup.

What gives? 

Here's what fsck shows:

UNREF FILE I=1095 OWNER=root MODE=20666
UNREF FILE I=1097 OWNER=root MODE=20600  (plus zero size stuff...)

What puzzles me most is the MODE part.  What is that?  I tried using a 
different superblock with the -b option, and no success.

Suggestions would be very much appreciated!  Thanks!

pat