summaryrefslogtreecommitdiffstats
path: root/loader/modules.c
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-02-14 23:17:48 +0000
committerMatt Wilson <msw@redhat.com>2000-02-14 23:17:48 +0000
commit20b9dd22ef215a55030dc7f05d0d040db8f37c2c (patch)
tree1322d9bc11a80fa9149b98b583640c1f58d6a1ce /loader/modules.c
parent7cd2ac68ee391e7d5ec61e3330a3b0a3653776a4 (diff)
downloadanaconda-20b9dd22ef215a55030dc7f05d0d040db8f37c2c.tar.gz
anaconda-20b9dd22ef215a55030dc7f05d0d040db8f37c2c.tar.xz
anaconda-20b9dd22ef215a55030dc7f05d0d040db8f37c2c.zip
"alias cdrom" wasn't being written
Diffstat (limited to 'loader/modules.c')
-rw-r--r--loader/modules.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/loader/modules.c b/loader/modules.c
index 2706dcfc7..afbd2b6b4 100644
--- a/loader/modules.c
+++ b/loader/modules.c
@@ -263,6 +263,10 @@ int mlWriteConfModules(moduleList list, moduleInfoSet modInfo, int fd) {
if ((mi = isysFindModuleInfo(modInfo, lm->name))) {
strcpy(buf, "alias ");
switch (mi->major) {
+ case DRIVER_CDROM:
+ strcat(buf, "cdrom ");
+ break;
+
case DRIVER_SCSI:
if (scsiNum)
sprintf(buf2, "scsi_hostadapter%d ", scsiNum);