From 830a2579e35f1ba8b4963ae5d05cff46baf7142c Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 21 Aug 2007 14:43:42 +0000 Subject: kill old usb-storage code, mkinitrd now loads it when necessary --- perl-install/install/install2.pm | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm index 8addfdb33..dbd75a8f2 100644 --- a/perl-install/install/install2.pm +++ b/perl-install/install/install2.pm @@ -184,16 +184,6 @@ sub formatPartitions { any::rotate_logs($::prefix); - if (any { $_->{usb_media_type} && any { $_->{mntpoint} } partition_table::get_normal_parts($_) } @{$o->{all_hds}{hds}}) { - log::l("we use a usb-storage based drive, so keep it as a normal scsi_hostadapter"); - } else { - log::l("we do not need usb-storage for booting system, rely on hotplug"); - #- when usb-storage is in scsi_hostadapter, - #- hotplug + scsimon do not load sd_mod/sr_mod when needed - #- (eg: when plugging a usb key) - $o->{modules_conf}->remove_probeall('scsi_hostadapter', 'usb-storage'); - } - require raid; raid::write_conf($o->{all_hds}{raids}); -- cgit v1.2.1