Is repartitioning possible while one of the partitions is mounted?

Artem Bityutskiy dedekind1 at gmail.com
Mon Aug 30 05:17:27 EDT 2010


On Mon, 2010-08-30 at 14:26 +0530, Rohit Hassan Sathyanarayan wrote:
> Hi Artem
> 
> > -----Original Message-----
> > From: linux-mtd-bounces at lists.infradead.org [mailto:linux-mtd-bounces at lists.infradead.org] On Behalf
> > Of Artem Bityutskiy
> > Sent: Tuesday, August 24, 2010 1:35 PM
> > To: Tim Cussins
> > Cc: linux-mtd at lists.infradead.org
> > Subject: Re: Is repartitioning possible while one of the partitions is mounted?
> > 
> > On Mon, 2010-08-02 at 14:32 +0100, Tim Cussins wrote:
> > > Hi all,
> > >
> > > I just spotted post regarding upcoming Runtime Partitioning Support
> > > (http://lists.infradead.org/pipermail/linux-mtd/2010-July/031200.html)
> > >
> > > After taking a cursory glance at the patch it's not immediately obvious
> > > ( uh, to me anyway :D ) whether you can create/delete partitions while
> > > a filesystem (e.g. rootfs) is mounted from another partition on the same
> > > mtd device.
> > >
> > > Under what conditions can you create/delete partitions?
> > 
> > I guess it is good idea to put the authors of that patch in CC, no?
> > 
> > I think this case should be handled. If it is not, the solution is not
> > very good. But this is just IMHO.
> > 
> Its possible to partition/delete/resize the other partitions of the device even
> if rootfs is mounted on one partition.
> The utility even gives freedom to change the permissions of the partitions and 
> merging adjacent partitions apart from above features.

Why the merge operation is needed? Why is it better than delete + delete
+ create? I also sent you another e-mail with questions + some review.

-- 
Best Regards,
Artem Bityutskiy (Битюцкий Артём)




More information about the linux-mtd mailing list