lkml.org 
[lkml]   [1999]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Removing bad fsck inode files
Tom Livingston wrote:
>
> Michael Clark:
> > The corruption has probably set the immutable flag on these files.
> >
> > Have you tried: chattr -i *

Must be a bug in the ioctl chattr uses - it can't read flags on special
files.

i.e.

mknod test c 0 0
chattr +i test
chattr: Operation not supported by device while reading flags on a

> Thanks for the advice! This did clear some, but unfortunately not many.
> With my test group of #1* I was able to delete 16 of the 4171... but of
> course that still leaves 4155 files. This is the output I got from
> chattr -i \#1*:
>
> chattr: Invalid argument while reading flags on #1118037
> chattr: Inappropriate ioctl for device while reading flags on #1118068
> chattr: No such device while reading flags on #1118105
> chattr: No such device while reading flags on #1118128
> chattr: No such device while reading flags on #1118148
> chattr: No such device while reading flags on #1118176
>
> I guess all of my trouble are because they are all invalid devices & pipes.
> is there no way to clear these types of invalid devices?
>
> tom

-
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.133 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site