Re: apparent file corruption on 2.4.2

Andreas Dilger (adilger@turbolinux.com)
Fri, 2 Mar 2001 14:05:15 -0700 (MST)


Wade Hampton writes:
> I can't move, delete, or do anything with these files. I tried
> chattr, touch, etc. and the only thing I can do is change the
> access date with touch.
>
> b--sr-s--t 1 1769209956 1852796526 116, 101 May 29 2023
> /binold/hostname
>
> prwxr-x--T 1 2232483836 2312881283 0 Mar 1 22:41
> /dev/dsp
>
> Does anyone have any ideas. I can live with one messed up file
> in /binold, but I can't live with a messed up /dev/dsp. I
> really don't want the Microsoft solution (reload)....

You could always rename /dev to /devold, copy the rest of your
device files back, and run "mknod /dev/dsp c 14 3" to recreate
/dev/dsp.

You probably need to boot using a rescue floppy (tomsrtbt if
needed), and run debugfs to delete them. It is strange
that you can't even delete these files. Sometimes there is a
problem with files > 2GB in size, but there should be no
problems with block special or pipes. What sort of errors do
you get, and is there anything in syslog?

Cheers, Andreas

-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/