partitions and erase regions
Nicolas Pitre
nico at cam.org
Fri Mar 30 12:52:46 EST 2001
On Fri, 30 Mar 2001, Kári Davíðsson wrote:
> Since there was no protest I just went ahead and commited the "virtual"
> erase region
> patch to mtdpart.
Sorry, I apparently missed your original post.
> > Hi,
> >
> > I am implementing a "virtual" erase regions for partitions.
> > It looks to me that should be enough to create them in
> > add_mtd_partition().
> >
> > This would make it easyer to manage partitions that cross erase region
> > boundaries.
Why do you want to have partitions that cross erase region in the first
place?
The primary goal of partitions is to easily _preserve_ some parts of the
flash while allowing free access to others. If a writable, ence eraseable,
partition can start/end up in the middle of an erase region, you will
potentially trash part of a contigous partition that was ment to be
read-only. Even if you preserve the erased content of the contigous
partition to write it back afterwards, you still have the risk of a power
failure at the right time that would rander your read-only partition
corrupted.
Nicolas
To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org
More information about the linux-mtd
mailing list