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

Re: run debian off usb flash drive

On Sun, 28 Mar 2004 13:32, Goswin von Brederlow 
<brederlo@informatik.uni-tuebingen.de> wrote:
> > Single...what?  I suppose I wasn't clear in that this is 250 block
> > erases for a given block.  If the erase block is 128 KiB and you have
> > only one free block (heaven forbid) that would require writing 32 MiB
> > of data every day for a year before that block was unable to accept
> > another write.
> Writeing one single byte of that block is enough. Thats 250 bytes.

Are you sure?  From a brief skim read of the JFFS2 documentation I didn't get 
the impression that it worked like that.  JFFS2 blocks are smaller than file 
system blocks, so 250 one-byte writes would need 250 JFFS2 blocks to be 

Of course that just changes the problem to having only one JFFS2 block free.

But you are right that things get worse as free space decreases.  The more 
space you can keep free on JFFS2 the better.

Also one thing that's noteworthy is that in what I consider to be fairly 
typical use of an iPaQ type device, the machine is periodically refreshed to 
the latest distribution.  This means that many files which almost never get 
changed get put at the first blocks of the flash.  This is a minor impediment 
to flash life.

http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page

Reply to: