Block device as MTD

Bao C. Ha baoha at sensoria.com
Tue Jun 26 17:41:14 EDT 2001


Can I mount a partition like /dev/hda3 or perhaps
/dev/ide/host0/bus0/target0/lun0/part3?

Bao

> -----Original Message-----
> From: linux-mtd-admin at lists.infradead.org
> [mailto:linux-mtd-admin at lists.infradead.org]On Behalf Of Simon Evans
> Sent: Tuesday, June 26, 2001 1:20 PM
> To: linux-mtd at lists.infradead.org
> Subject: Re: Block device as MTD 
> 
> 
> 
> 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/
> 




More information about the linux-mtd mailing list