[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On Sat, 22 Jul 2000, Rogelio M. Serrano Jr. wrote:
> How do we handle these:
> Appending to an existing file. What fields must be updated with what?
> We write a new inode right? What values should I place in the raw inode
There must be a raw inode preceeding each new chunk of data. The kind of
stuff that has to be inserted into each raw inode in jffs_file_write is
approximately what is in there today. The thingies that have to be changed
are the raw inode's version, offset and dsize. Of course one have to
compute new checksums. I don't think there are stuff other than that.
> Rewriting file? Writing a file?
Yeah. One day, write and rewrite should be merged into one single function...