lkml.org 
[lkml]   [1999]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Oops with ext3 journaling

Hello All, Not being ext3/journaling savy , I ask this question
Does journal.dat belong in user file area ? Could it not be put
into (a little harder to overwrite) /proc ? Or ... ? Hth, JimL

On Sat, 4 Dec 1999, Brion Vibber wrote:
> On Sat, 4 Dec 1999, Daniel Veillard wrote:
>
> > Let me guess, did your copy command avoided overwriting the journal.dat ?
> > If not it's not surprizing, that's the only way (with soft raid + ext3)
> > I found to get an oops from ext3.
>
> (Sound of head banging against wall... ouch!) Yep, that would do it, I
> should have done an --exclude journal.dat...
>
> > I reiterate, the ext3 code must protect the journal from user-level
> > process operation, or we are gonna have serious headaches in the user support
> > dept. :-(
>
> Maybe at least stick a nice big warning in the docs along the lines of "do
> not write to your journal file while mounted with journaling on, you big
> dummy!" :) Not that I'd do so deliberately of course, but it might make
> people a little more wary later on. The README does recommend setting the
> permissions to 400, but that doesn't protect from root of course.
>
> Is there any reason you _would_ want to be able to write to the journal
> file from userland while mounted? I'd guess no...
>
> -- brion vibber (brion@pobox.com)
>

+----------------------------------------------------------------+
| James W. Laferriere | System Techniques | Give me VMS |
| Network Engineer | 25416 22nd So | Give me Linux |
| babydr@baby-dragons.com | DesMoines WA 98198 | only on AXP |
+----------------------------------------------------------------+


-
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:55    [W:0.069 / U:0.720 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site