lkml.org 
[lkml]   [1999]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: How do I remove the files with the following characteristics? (fwd)
Date
From
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.
--
Horst von Brand vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viña del Mar, Chile +56 32 672616

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.089 / U:1.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site