Block device as MTD

Simon Evans spse at secret.org.uk
Tue Jun 26 06:33:04 EDT 2001


Hi,

I have written a mtd driver that makes a block device
appear as an MTD device, ie you can use a floppy disk,
hard disk or Compact flash as an MTD then put JFFS2 on
top etc. The main reason for writing this was so I could
put JFFS2 on a Compact Flash (which pretends to be an IDE drive),
however it can be used as a test device for using JFFS2 on
large devices (you should be able to use upto a 4gig block device)
or floppy disks (ie eject the disk when it does a write for testing
 jorunalling).

I have tested it on a floppy disk, and 96MB CF and it seems relatively
stable.

What is the best procedure for releasing it.

cheers
si




More information about the linux-mtd mailing list