
>From - Wed Sep 19 14:44:48 2001
X-Mozilla-Status2: 00000000
Message-ID: <3BA89339.50407@tid.es>
Date: Wed, 19 Sep 2001 14:44:41 +0200
From: Jose =?ISO-8859-1?Q?Rodr=EDguez?= Argente <jradc@tid.es>
User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.4-4GB i686; en-US; 0.8.1) Gecko/20010515
X-Accept-Language: en
MIME-Version: 1.0
To: linux-mtd@lists.infradead.org
Subject: JFFS2 compresses?
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Does JFFS2 compress data in flash?

When I check the available space in Flash

df

Filesystem                    1k-blocks        Used    Available    Use% 
   Mounted on
/dev/mtdblock1            32000                5772    26228            
18%        /

But when I erase a file that is 702k big I get:

df

Filesystem                    1k-blocks        Used    Available    Use% 
   Mounted on
/dev/mtdblock1            32000                5648    26352            
18%        /

Which means that 124k have been freed.
I think there is a compression algorythm involved...?

Thanks a lot


