[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: JFFS compression and hard links.
Tim Riker wrote:
> Joe deBlaquiere wrote:
>> I think the e2compr model of allowing compression on a cluster basis is
>> probably appropriate. Each cluster is compressed into ram and the size
>> compared to the original size. If it doesn't meet the size contraint,
>> the uncompressed data is stored. Trying to use file magic numbers or
>> extensions can get you into trouble.
> This does not bode well for battery life though. Say I'm recording audio
> on my handheld. The audio is being saved in a compressed format. This
> could mean that each write would be needlessly recompressed just to
> learn that compression gains nothing.
Which is why the file you would be saving to should not be marked for
compression in this case.
To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to email@example.com