Block device as MTD
Simon Evans
spse at secret.org.uk
Tue Jun 26 16:19:52 EDT 2001
I have checked this into CVS now. The following files are affected:
drivers/mtd/devices/blkmtd.c - the driver itself
drivers/mtd/devices/Config.in
drivers/mtd/devices/Makefile
patches/Configure.help
Please consider this alpha software. It uses raw/io to the disk (not via
the buffer cache). Basic usage is:
modprobe blkmtd device=/dev/floppy/0 etc
If you are going to put a JFFS2 fs on the device, please note that
it can take quite a while to mount because JFFS2 scans every block.
A 96MB CF card took about 2 minutes.
On the plus side, if you have more memory then the size of the device,
you should find the whole device in the page cache ;)
cheers
si
More information about the linux-mtd
mailing list