lkml.org 
[lkml]   [1999]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: partition table rereading
Date
> 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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.027 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site