safe flash filesystem

Abraham vd Merwe abraham at 2d3d.co.za
Fri Jun 22 04:22:38 EDT 2001


Hi Russ!

> If its just a config file, why make all this so complicated?
> 
> struct node {
> 
> 	u32 magic;
> 	char valid;
> 	u32 version;
> 	u32 data_crc;
> 	u32 hdr_crc;
> 	char data[DATA_SIZE];
> };

Yes, this is something in the lines I was thinking of. But what complicates
things is if you start taking things like avoiding damaged blocks into
account, wear levelling (this is fairly easy to solve) and keeping the flash
unfragmented.

-- 

Regards
 Abraham

Walking on water wasn't built in a day.
		-- Jack Kerouac

__________________________________________________________
 Abraham vd Merwe - 2d3D, Inc.

 Device Driver Development, Outsourcing, Embedded Systems

  Cell: +27 82 565 4451         Snailmail:
   Tel: +27 21 761 7549            Block C, Antree Park
   Fax: +27 21 761 7648            Doncaster Road
 Email: abraham at 2d3d.co.za         Kenilworth, 7700
  Http: http://www.2d3d.com        South Africa

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/linux-mtd/attachments/20010622/6cdedc7d/attachment.bin 


More information about the linux-mtd mailing list