Re: power safe - appand to file
David Woodhouse <[email protected]> Wed, 26 May 2004 11:01:52 +0100
| Newsgroups | gmane.linux.file-systems.jffs |
|---|---|
| Message-ID | <[email protected]> |
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. -- dwmw2 To unsubscribe from this list: send the line "unsubscribe jffs-dev" in the body of a message to [email protected]