From cc5f83a12d817f8d34c8b7e75aa49f395d6d95b6 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 5 Mar 2008 20:49:07 +0000 Subject: do not timeout after 10 minutes when resizing NTFS partition --- perl-install/NEWS | 2 +- perl-install/diskdrake/resize_ntfs.pm | 2 +- perl-install/install/NEWS | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) (limited to 'perl-install') diff --git a/perl-install/NEWS b/perl-install/NEWS index 5d9679476..3e4c70054 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -3,10 +3,10 @@ - diskdrake: o fix resizing/formatting ntfs (broken because of ntfs-3g switch in previous release) + o do not timeout after 10 minutes when resizing NTFS partition - detect_devices: o provide sysfs device path on Firewire and PCMCIA bus (to be able to fix #33950 in drakx-net) - Version 10.9 - 5 March 2008 - adapt to new kernel-2.6.25's sysfs layout (Eric Pielbug, #38235) diff --git a/perl-install/diskdrake/resize_ntfs.pm b/perl-install/diskdrake/resize_ntfs.pm index ab99ce627..c6364fec6 100644 --- a/perl-install/diskdrake/resize_ntfs.pm +++ b/perl-install/diskdrake/resize_ntfs.pm @@ -30,7 +30,7 @@ sub resize { my @l = ('-ff', '-s' . int($size / 2) . 'ki', $o->{dev}); my $r; run_program::run('ntfsresize', '>', \$r, '-n', @l) or die "ntfsresize failed: $r\n"; - run_program::run('ntfsresize', '>', \$r, @l) or die "ntfsresize failed: $r\n"; + run_program::raw({ timeout => 'never' }, 'ntfsresize', '>', \$r, @l) or die "ntfsresize failed: $r\n"; } 1; diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index b23ad3c0b..dad4ee007 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -4,6 +4,7 @@ - do not load i810fb, rely on vesa xorg drive instead (it may help #37772) - restore correct configuration of nfs/hd media in urpmi.cfg (regression introduced in 10.8) +- do not timeout after 10 minutes when resizing NTFS partition Version 10.8 - 4 March 2008 -- cgit v1.2.1