ext2_lookup() and i_count

Alexander Larsson alex at cendio.se
Thu May 11 10:57:01 EDT 2000

On Thu, 11 May 2000, Sébastien Côté wrote:

> Alexander Larsson wrote :
> > First create your to be filesystem in a directory (call it e.g. img_dir),
> > then run "mkfs.jffs img_dir > fs.jffs", this creates an image fs.jffs that
> > you can copy to your flash (in the case of an mtdram flash, just do "cat
> > fs.jffs > /dev/mtd0". Then mount the flash "mount -t jffs /dev/mtdblock0
> > /mnt/jffs".
> How can I create these devices??  MAKEDEV doesn't know about them and
> mknod needs major/minor numbers that aren't mentionned anywhere...
> ./MAKEDEV: don't know what "mtd" is

 There is a MAKEDEV script in the utils dir that creates them.

/ Alex

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

More information about the linux-mtd mailing list