diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-11-25 11:05:14 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-11-25 11:05:14 +0000 |
commit | bd07bef5005f39e7cf2c3b4fbb576d124269a247 (patch) | |
tree | aaceece01fca2ad01812619c39b4ee07e26456cb /perl-install | |
parent | 09ce39100a56325604e7d3945a4ed47ce88ef167 (diff) | |
download | drakx-backup-do-not-use-bd07bef5005f39e7cf2c3b4fbb576d124269a247.tar drakx-backup-do-not-use-bd07bef5005f39e7cf2c3b4fbb576d124269a247.tar.gz drakx-backup-do-not-use-bd07bef5005f39e7cf2c3b4fbb576d124269a247.tar.bz2 drakx-backup-do-not-use-bd07bef5005f39e7cf2c3b4fbb576d124269a247.tar.xz drakx-backup-do-not-use-bd07bef5005f39e7cf2c3b4fbb576d124269a247.zip |
for move, make it use ide-scsi *now*, not after reboot
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/detect_devices.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index 312c3c128..2b79772aa 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -74,6 +74,11 @@ sub cdroms_and_zips__faking_ide_scsi() { $faked = "sd" . chr(ord('a') + $nb_zip++); log::l("IDE Zip: $e->{device} => $faked and $e->{devfs_prefix}"); } + if ($::move) { + #- make it use ide-scsi *now*, not after reboot + output("/proc/ide/$e->{device}/settings", 'ide_scsi:1'); + output("/proc/ide/$e->{device}/driver", 'ide-scsi'); + } $e->{device} = $faked; } get_devfs_devices(@l_need_fake); |