[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-kernel
Subject: Re: [PATCH] Reread partition table when a partition is added
From: Andries Brouwer <aebr () win ! tue ! nl>
Date: 2004-08-23 9:53:18
Message-ID: 20040823095318.GB2682 () pclin040 ! win ! tue ! nl
[Download RAW message or body]
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.
Andries
[More precisely: rereading the pt consists of (i) reading pt, and
(ii) updating kernel tables. Now (i) can be done from user space,
by fdisk-type programs, and (ii) can be done from user space,
by partx-type programs.]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic