Re: Unable to mount compressed root f/s because init_mtd() does not r egister block device!

David Woodhouse
2001-02-23T08:22:51Z

vmalik@danielind.com said:
> Also, as far as reading goes, there is no real difference between the
> mtd0 device and the block device (i.e. reading from mtd0 does not get
> you anything extra).

Except that the block device is quite a lot of unnecessary overhead (and a
kernel thread, etc.). Reading directly from the MTD device rather than
through either the blockdevice or chardevice would be nicer.

Actually, for 2.4 I'd like to be able to extract a tarball from an MTD
device directly into ramfs rather than ramdisk. CONFIG_BLK_DEV=n