lkml.org 
[lkml]   [1999]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Removing bad fsck inode files
Date
From
"Tom Livingston" <tsl@volition.org> said:

[...]

> However, during the fsck process I got a large number of files in
> lost+found. No surprise there, but many of them are corrupted enough not to
> be removable. As it stands now I have 13,000 files in lost+found that I
> can't rm as root, or chown, or chmod.

Do a:

ls lost+found | sed -e 's;^;rm ;' > /tmp/to-delete

and then feed that to debugfs(8). A fsck(8) should finish up the mess.

[Warning: Don't try this at home. Professional drivers made the demonstration]
--
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:54    [W:0.102 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site