[lkml]   [1999]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Oops with ext3 journaling
On Sat, 4 Dec 1999, mike burrell wrote:

> couldn't you just make a new flag for the inode that journal.dat uses? i'm
> guessing using S_IMMUTABLE will cause some problems, but something similar
> to that?

I gate immutable a try on a loopbacked test fs and it seems to work
fine... No complaints from the kernel, and it wrote to the journal file
upon mount. Copies of the journal file before and after putting a bunch of
files on the fs differed... and attempting to write to or copy over the
journal file was denied even to root. Huzzah!

So if you think you might accidentally overwrite your journal file, give
it a chattr +i and stay safe...

-- brion vibber (

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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