Re: How do I remove the files with the following characteristics?

David Ford (david+nospam@killerlabs.com)
Mon, 20 Dec 1999 17:40:05 -0800 (PST)


I sent detailed instructions on how to use debugfs and fix those files.

-d

On Sun, 19 Dec 1999, Horst von Brand wrote:

> Date: Sun, 19 Dec 1999 23:43:39 -0300
> From: Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
> To: Robert Johannes <rjohanne@rjohanne-host.dsl.visi.com>
> Cc: linux-kernel@vger.rutgers.edu
> Subject: Re: How do I remove the files with the following characteristics?
(fwd)
>
> Robert Johannes <rjohanne@rjohanne-host.dsl.visi.com> said:
> > I sent the following message to linux-admin, but nobody seems to know the
> > solution to it. So please, if any one here can help, I would be very
> > appreciative. I've even tried using lsattr and chattr as suggested by
> > someone on that list, to no avail. When I do a file on these files, file
> > reports that they are setuid and setgid sticky block, character or socket
> > special devices. Is there any way to remove them?
>
> You might try first try e2fsrogs-1.18's fsck(8), it chatches (and
> deletes/cleans flags) on severely broken filesystems better than before.
>
> Use debugfs(8) or some such. First unmount the partition (or remount
> (mount(8)) read-only, at least), run debugfs on it and rm the files. Then
> run fsck(8) with -f on it for good luck. Be _extremely_ careful.
>
> [...]
>
> > Here is an 'ls -l' of the /lost+found dir:
> >
> > total 69392975904
> > ?r-S--x-w- 1 11785 12337 1702132066 Dec 19 01:54 #131074
> > ?r----x--x 1 11315 12588 824980273 Feb 22 1996 #131078
>
> [etc]
>
> This looks like rather massive screwup of the filesystem. What kernel are
> you running, on what CPU? Compiled 2.3.x on i686 with egcs-1.1.2 or
> gcc-2.95.2, by any chance?
>
> I'd consider reinstalling (or at least "refreshing") your installation.
>
> My condolences.
>

-- 

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/