Re: Kernel 2.4.15-pre6 / EXT3 / ls shows '.journal' on root-fs.

Tommi Kyntola (kynde@ts.ray.fi)
Tue, 20 Nov 2001 03:37:01 +0200 (EET)


> > And it is not immutable, the only ext2 file attribute set is the "d"
> Not on my system:
> bodnar42:/home/bodnar42# rm /.journal
> rm: remove write-protected file `/.journal'? y
> rm: cannot unlink `/.journal': Operation not permit
>
> That's about as immutable as a file can get, and I'm quite sure I did
> not set it immutable manually.

Yes my mistake, the .journal is indeed immutable on my other ext3
partitions, but as you could see from my previous mail, the
immutable wasn't set for that particular partition and
the rm succeeded.

(could be due to the fact that I had to remove it there using
the tune2fs -O to check out wether it's visible or not when
created unmounted)

Even so, I'm wondering wether this removal is standardad
procedure for hiding it once and for all or not?
Since what's there to stop you from 'chattr -i .journal ; rm .journal'.

-- 
  Tommi "Kynde" Kyntola      
     /* A man alone in the forest talking to himself and 
        no women around to hear him. Is he still wrong?  */

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