[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: power safe - appand to file
On Wed, 2004-05-26 at 10:02 +0100, David Woodhouse wrote:
> Rename is atomic.
Actually rename isn't _entirely_ atomic but it's close enough. We first
make the link from the new name to the inode in question, and _then_
break the link from the old name. So the new name atomically changes
from pointing to the old inode to pointing to the new one. Which is what
you want if your bootloader is looking something up by filename.
To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to firstname.lastname@example.org