public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* How to use MTD
@ 2000-03-01  7:54 Michael Thompson
  0 siblings, 0 replies; only message in thread
From: Michael Thompson @ 2000-03-01  7:54 UTC (permalink / raw)
  To: mtd



I'd really like to start experimenting with MTD, but I'm afraid I've only
got half a clue about how to use it.

Here's what I'd like to do:

	1) Create an ext2 filesystem on an mtd block device and mount
	   it read-write from linux. This is to experiment with MTD
	   without the flash.
	2) Create an ext2 filesystem on a set of flash devices from an
	   embedded system running linux. The underlying flash devices
	   are Intel's StrataFlash; they support CFI and JEDEC.

To accomplish (1), I thought I should:

	# insmod mtd
	# insmod slram
	# insmod mtdblock
	# mkfs -t ext2 /dev/mtdblock0
but mkfs says:
        mke2fs 1.15.6, 13-Aug-1999 for EXT2 FS 0.5b, 95/08/09
        /dev/mtdblock0: Invalid argument passed to ext2 library while setting up        superblock

Can someone please explain the fundamentals?

Thanks!

-Michael Thompson
mickey@berkeley.innomedia.com


To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-03-01  7:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-01  7:54 How to use MTD Michael Thompson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox