bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: When should I replay a journal ?


From: Szakacsits Szabolcs
Subject: Re: When should I replay a journal ?
Date: Mon, 4 Oct 2004 11:59:51 +0200 (MEST)

On Mon, 4 Oct 2004, K.G. wrote:

> I'm implementing the journal for HFS+, and I think I can replay
> transactions at two differents places, either when checking the
> filesystem, or when opening it. If I replay when opening, this means the
> FS could be modified by things as simple as 'print $part'. Is that good
> ? Does the user knows and wants that this happens ? On the other way,
> putting it in the check part means printing the partition could report
> inaccurate informations... Maybe I should put it in 'open' with an
> exception asking the user if he wants transactions to be replayed ?

I think so, too. Apple (but basically everybody else) says if the journal
isn't empty then you must refuse to open the volume or must replay it
first. During interactive usage, asking the user is a good idea.

        Szaka





reply via email to

[Prev in Thread] Current Thread [Next in Thread]