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

Re: JFFS compression and hard links.

johan.adolfsson@xxxxxxx.com said:
>  Wouldn't it be possible to add a "compressed bit" in reserved field
> and then say that the first 32 bit number of the data is the length?
> (And then come the compressed data) This would mean that the flash
> structure doesn't really change and is backword compatible (if we
> really care), but the internal representation has the extra field. 

I considered it for a while. But the flash structure already does have to 
change, to deal with erase blocks individually. So we might as well move to 
a scheme such as 

 __u32 magic;
 __u32 nodetype;

Where nodetype contains version information as well as just the 'type' of 
the node. 


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