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

RE: Major JFFS2 bug (?)

On Sun, 13 May 2001, Vipin Malik wrote:
> The answer is most likely yes, but JFFS has nothing to do with that, as
> that is most likey being guranteed by the "mv" command not deleting the
> <src> file till it successfully copies it over the <dest> file.

No, rename is guaranteed to be atomic by the OS. It's commonly used for
synchronization. Therefore, ideally the filesystem should implement it
atomically as well. JFFS did it atomically because of this, to avoid
surprises should the system crash during the operation.

(usual disclaimers about rename and NFS or between filesystems apply)


To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@xxxxxxx.com