fix a completion buf, add floppy devices into the device map file unconditionally.

This commit is contained in:
okuji committed 1999-10-31 04:15:36 +00:00
1 parent d7c7eb7897
commit 0612bf14c0
4 files changed
+17 -10

No files matched your search

+6 -7
View File
@@ -341,14 +341,13 @@ init_device_map (void)
break;
get_floppy_disk_name (name, i);
/* In floppies, write the map, whether check_device succeeds
or not, because the user just does not insert floppies. */
if (fp)
fprintf (fp, "(fd%d)\t%s\n", i, name);
if (check_device (name))
{
assign_device_name (i, name);
/* If the device map file is opened, write the map. */
if (fp)
fprintf (fp, "(fd%d)\t%s\n", i, name);
}
assign_device_name (i, name);
}
/* IDE disks. */