[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Major JFFS2 bug (?)
> If I do a 'mv /etc/inittab.new /etc/inittab' (for example) will JFFS
> guarantee that the *.new file will not be gone unless it was correctly
> moved to the destination file?
JFFS does it in a single log entry, IIRC.
JFFS2 does a hard link then unlinks the source. If the unlink fails, it
tries to unlink the destination. If that fails, it prints an unhappy
message and tells the VFS about the new hard link it just created :)
Turning that into a single log entry like JFFS v1 is on the TODO list. It
means inventing a new type of dirent node, but that's not too much of a
To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to firstname.lastname@example.org