what files are these? and how do I remove them?

Dan Nelson dnelson at allantgroup.com
Wed Apr 21 15:45:10 PDT 2004


In the last episode (Apr 21), Michael Johnson said:
> Hi,
> 	First off I'm using vinum raid-0 on this filesystem and I'm running
> gentoo:/usr/src/bin root$ uname -a
> FreeBSD gentoo.ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #41: Tue Apr 13 
> 22:30:51 EDT 2004
> 
> I can't delete two files and they do not show up with 'ls'
> 
> gentoo:/usr/src/bin root$ ls -al
> ls: stty: Bad file descriptor
> ls: sync: Bad file descriptor
> total 4
> drwxr-xr-x   4 root  wheel   512 Apr 21 18:07 .
> drwxr-xr-x  26 root  wheel  1024 Apr 21 18:03 ..

You may need to unmount the filesystem, use fsdb to clear those two
inodes, then run fsck to fix everything else up.  Then restore those
files from tape (or another system), since soemthing will eventually
complain about them being missing.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-current mailing list