Messages in this thread | | | Date | Mon, 20 Oct 2003 10:38:40 -0600 | From | Andreas Dilger <> | Subject | Re: Rereading the Partition Table (ioctl BLKRRPART) |
| |
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 http://sourceforge.net/projects/ext2resize/ http://www-mddsp.enel.ucalgary.ca/People/adilger/
- 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/
| |