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/