Messages in this thread | | | From | Jakub Jelinek <> | Subject | Re: partition table rereading | Date | Fri, 2 Apr 1999 23:16:07 +0200 (CEST) |
| |
> Hmm. Under 2.2.5 the reread still succeeds if the disk is unused > and fails if it was in use. I am not aware of any change. > > I am not sure why you would want to reboot four times instead of just once. > Sounds like a waste of time.
In fact, BLKRRPART could be improved: currently you get EBUSY if some partitions of the disk are used. But if the partitions which are busy have not changed at all (and kept the same number), then I think there is no reason not to succeed. It will require some additional code (checking if the busy partitions have the same start/length in kernel tables and in the new partition table), but IMHO is worth doing that.
Cheers, Jakub ___________________________________________________________________ Jakub Jelinek | jj@sunsite.mff.cuni.cz | http://sunsite.mff.cuni.cz Administrator of SunSITE Czech Republic, MFF, Charles University ___________________________________________________________________ UltraLinux | http://ultra.linux.cz/ | http://ultra.penguin.cz/ Linux version 2.2.5 on a sparc64 machine (3958.37 BogoMips) ___________________________________________________________________
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |