Block device as MTD

Felix Radensky felix at allot.com
Wed Jun 27 02:49:39 EDT 2001


Simon Evans wrote:

> 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
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/

Hi,

We have CF slot on our board, but no IDE controllers. Can I still use your
blkmtd.c driver to access CF ? If not, what approach should I take to
utilize
CF (adding IDE controller is not an option) ?

Thanks in advance.

Felix.






More information about the linux-mtd mailing list