[PATCH] extend physmap.c to support run-time adding partitions
Cam Mayor
cmayor at iders.ca
Wed Oct 29 17:57:27 EST 2003
On Wednesday 29 October 2003 12:45, Jun Sun wrote:
> On Wed, Oct 29, 2003 at 11:13:26AM +0000, David Woodhouse wrote:
> >
> > That's nicer. Why multiple physmap_add_partition() calls rather than
> > just a single array passed to physmap_set_map() though?
>
> Hmm, currently partition only matters when CONFIG_MTD_PARTITIONS
> is enabled. I assume this mean sometimes people want to use
> physmap without partitions. True?
Yes. We have a product that partitions physmap (from the kernel command
line), but also uses the unpartitioned physmap base device.
ie. physmap on /dev/mtd0
physmap partitions on /dev/mtd1, /dev/mtd2, etc. sometimes none.
cam
--
Cameron Mayor
Iders Incorporated
More information about the linux-mtd
mailing list