diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-08-27 20:39:57 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-08-27 20:39:57 +0000 |
commit | 43d06c38c11718e5aa331811468ef23decc96684 (patch) | |
tree | 7b4559caa371221fa7a63d098c992caf25f9a2bd /loader/devices.c | |
parent | d85a0004768f484f4aa626042512e654e991fab1 (diff) | |
download | anaconda-43d06c38c11718e5aa331811468ef23decc96684.tar.gz anaconda-43d06c38c11718e5aa331811468ef23decc96684.tar.xz anaconda-43d06c38c11718e5aa331811468ef23decc96684.zip |
reprobe for floppy devices before going to load driver disks. this is a dell bug (IT #5954) that did not get escalated to bugzilla properly. I don't see how it could be unsafe, although it's against my better judgement to change this late.
Diffstat (limited to 'loader/devices.c')
-rw-r--r-- | loader/devices.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/loader/devices.c b/loader/devices.c index 01913754a..09ab1e8fc 100644 --- a/loader/devices.c +++ b/loader/devices.c @@ -242,6 +242,12 @@ int devLoadDriverDisk(moduleInfoSet modInfo, moduleList modLoaded, if (rc == 2) return LOADER_BACK; + /* re-probe for floppy device. If the system has no legacy floppy + device or IDE CD-ROM (i.e. it is only USB), they may have + unplugged their CD-ROM at this point to plug in a USB floppy + device. */ + setFloppyDevice(flags); + ddi->device = strdup(device); ddi->mntDevice = malloc(strlen(device) + 10); sprintf(ddi->mntDevice, "/tmp/%s", device); |