Re: [PATCH] [MTD] block2mtd.c: Make kernel boot command line arguments work (try 3)

Ville Herva
2006-07-10T22:31:23Z

On Fri, Jul 07, 2006 at 03:22:21PM +0300, you [Ville Herva] wrote:
>
> --- linux-mtd-GIT/drivers/mtd/devices/block2mtd.c 2006-07-05 23:06:10.000000000 +0300
> +++ linux-2.6.17.3.NEW3/drivers/mtd/devices/block2mtd.c 2006-07-07 15:04:48.000000000 +0300

For the record: I tested this variant of the patch in the following ways:
- block2mtd compiled in statically, no block2mtd.block2mtd kernel parameter
- block2mtd compiled in statically, block2mtd.block2mtd=/dev/hda2 kernel parameter
- block2mtd compiled as a module, no block2mtd.block2mtd kernel parameter
- insert block2mtd.ko with no arguments, later
echo /dev/hda2 > /sys/module/block2mtd/parameters/block2mtd
- insert block2mtd.ko with block2mtd=/dev/hda2 argument
- block2mtd compiled in statically, block2mtd.block2mtd=/dev/hda2 kernel parameter