Re: Rereading the Partition Table (ioctl BLKRRPART)

From: Andreas Dilger
Date: Mon Oct 20 2003 - 11:41:01 EST

On Oct 20, 2003 11:38 -0400, Calin A. Culianu wrote:
> Anyhow, in my quest to keep my uptime as high as possible, I was wondering
> how feasible it would be to make the BLKRRPART ioctl a little more
> flexible, so that in some cases a reboot wouldn't be required.
> Well, what do you guys think? I am tempted to just hack the sources now
> to get this working for myself, but before I start I am afraid maybe the
> situation isn't quite so simple... or there might be something I am
> overlooking. Can someone with more experience in the kernel share their
> thoughts on this?

It already exists, and newer partition editors already support this. I
think parted and partx will use the new partition ioctls to change the
kernel's partition table without a reboot. Sadly, no documentation on
how to use partx.

Cheers, Andreas
Andreas Dilger

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at