Have you run fsck.ext2 on the partitions?
If not, run it first.. then if the stuff remains, use debugfs (from the
package of the same name.. _I think_, man debugfs for details) to mark the
inodes as deleted (link count 0, dtime non-zero), quit, then fsck the
partition again. See if that helps. If not even that works, then your only
option would be possibly to reformat :/ Editing the filesystem directly
should work tho.
On Fri, 24 Nov 2000, Timothy Reaves wrote:
>
>
> Statux wrote:
>
> >>> After some hard drive corruption (due to a crash) I have several files
> >>> that look like:
> >>
> >
> > This file is marked as a block special file which only root can remove.
> > You can try doing 'chmod 0664 media' (with the leading 0) and see what
> > happens... but if a crash changed a bunch of files over to block special..
> > yer simplest solution is to toss em (as root) and forget about it ;)
> >
> > Why did they become block special files? <shrug> note the major and minor
> > numbers tho.. and the user:group settings. Looks like data corruption.
> > Just toss em ;)
> >
> > Again, only root can manipulate files like this :)
> >
> >
>
> no good:
>
>
> [root@double treaves]# whoami
> root
> [root@double treaves]# chmod 0664 media
> chmod: media: Operation not permitted
> [root@double treaves]# chmod 0664 .starteam
> chmod: .starteam: Operation not permitted
> [root@double treaves]#
>
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>
--
-Statux
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list