Re: [PATCH] Reread partition table when a partition is added
From: V13
Date: Mon Aug 23 2004 - 11:32:36 EST
On Monday 23 August 2004 12:53, Andries Brouwer wrote:
> On Mon, Aug 23, 2004 at 01:19:06AM +0300, Stefanos Harhalakis wrote:
> > This small patch rereads the partition table even if the block device
> > is beeing used. It only rereads it when there are no changes at the
> > current partitions and there are new partitions added at the end. Any
> > existing partition change will/should make it fail.
> >
> > Is it OK and/or useful ?
>
> What you want is possible already today.
> For an example, see partx in util-linux.
Oh! didn't new about that. Indeed it seems to be the right thing to do (tm)
regarding partition handling. Util-linux does not build partx by default so I
didn't notice it at all.
Thanks!
> Andries
<<V13>>
Attachment:
pgp00000.pgp
Description: PGP signature