lkml.org 
[lkml]   [2004]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] Reread partition table when a partition is added
Date
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>>
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.439 / U:0.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site