From eef0b32b777ba2f3534ebff7e55f772cb064221e Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Thu, 25 Jan 2001 17:52:07 +0000 Subject: - mdk-stage1: now linux-2.4 uses floppy.o to access floppy drives - remove fat/vfat modules from some boot floppies now that we don't need it anymore --- mdk-stage1/stage1.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mdk-stage1/stage1.c') diff --git a/mdk-stage1/stage1.c b/mdk-stage1/stage1.c index 725201400..190fcb6c9 100644 --- a/mdk-stage1/stage1.c +++ b/mdk-stage1/stage1.c @@ -132,13 +132,15 @@ static void expert_third_party_modules(void) "a Linux (ext2fs) formatted floppy containing the modules and confirm. Otherwise, select \"no\".");; if (results != RETURN_OK) return; - + + my_insmod("floppy", ANY_DRIVER_TYPE, NULL); + if (my_mount("/dev/fd0", floppy_mount_location, "ext2") == -1) { error_message("I can't find a Linux ext2 floppy in first floppy drive."); return expert_third_party_modules(); } - modules = list_directory("/tmp/floppy"); + modules = list_directory(floppy_mount_location); if (!modules || !*modules) { error_message("No modules found on floppy disk."); -- cgit v1.2.1