From a0092a3d667863341339645f5d0bc9bc4b4b5108 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 15 Jan 2004 11:27:12 +0000 Subject: - remove the use of BLKRRPART (telling the kernel to re-read the partition table) in most cases - replace with tell_kernel() and will_tell_kernel() - correctly handle in standalone the need to reboot, with no way to forget it (telling the WM to quit nicely then call reboot when it's done) --- perl-install/install_interactive.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/install_interactive.pm') diff --git a/perl-install/install_interactive.pm b/perl-install/install_interactive.pm index 3b8e350e4..154f1bde1 100644 --- a/perl-install/install_interactive.pm +++ b/perl-install/install_interactive.pm @@ -195,7 +195,7 @@ When sure, press Ok."))) or return; filesystem checks will be run on your next boot into Windows(TM)")) if !isFat($part); $part->{isFormatted} = 1; - $hd->{isDirty} = $hd->{needKernelReread} = 1; + partition_table::will_tell_kernel($hd, resize => $part); #- down-sizing, write_partitions is not needed partition_table::adjust_local_extended($hd, $part); partition_table::adjust_main_extended($hd); -- cgit v1.2.1