> On Fri, 16 Jan 1998, James Mastros wrote:
>
> > > b--Sr-xrw- 1 28020 13881 80, 77 Jan 13 1970 5-2.gif
> >
> > "man chattr"... "chattr -i 5-2.gif"... If the inode got scribbled over, then
>
> # chattr -i 5-2.gif
> chattr 0.5b, 14-Feb-95 for EXT2 FS 0.5a, 95/03/19
> chattr: No such device while reading flags on 5-2.gif
Ah, right, it has the 'block device' bits set, so ext2fs never sees
the ioctl chattr uses. In that case, you have to use debugfs's
modify_inode command to fix it.
-- Aaron M. Ucko <amu@mit.edu> (finger amu@monk.mit.edu) [Stark raving sane]