Subject: Re: strange file can't delete after system crash
To: CHAN Yiu Wah <clarence@cs.cuhk.hk>
From: Todd C. Miller <Todd.Miller@cs.colorado.edu>
List: current-users
Date: 05/01/1996 11:02:34
In message <199605010113.JAA24016@cs.cuhk.hk>
	so spake CHAN Yiu Wah (clarence):

> My netbsd-current system crash yesterday and I found that a strange file
> br-xr-sr--  1 3892868607  4294812956  110,   0 Nov 27 01:37
> svr4_utsname.h
> cannot be deleted.  Can anyone help me to remove it. After the crash I
> can vi (every time I invoked vi core dump happened). I am trying to
> rebuild the system. Any idea ? Thank you in advance.

One way is to do an "ls -i" to find the inode and then use "clri"
to remove the inode.  You probably want to do this in single user
mode and definately need to fsck the disk after doing the "clri".

 - todd