From d562a5550425e90637a1ea84a650a28fe1c0e961 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Sun, 8 Mar 2009 18:14:15 +0000 Subject: load appropriate modules before trying to mount ext4/reiser4 --- mdk-stage1/mount.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mdk-stage1/mount.c') diff --git a/mdk-stage1/mount.c b/mdk-stage1/mount.c index 59536a718..2b3e0f89d 100644 --- a/mdk-stage1/mount.c +++ b/mdk-stage1/mount.c @@ -206,12 +206,18 @@ int my_mount(char *dev, char *location, char *fs, int force_rw) if (!strcmp(fs, "reiserfs")) my_insmod("reiserfs", ANY_DRIVER_TYPE, NULL, 1); + if (!strcmp(fs, "reiser4")) + my_insmod("reiser4", ANY_DRIVER_TYPE, NULL, 1); + if (!strcmp(fs, "jfs")) my_insmod("jfs", ANY_DRIVER_TYPE, NULL, 1); if (!strcmp(fs, "xfs")) my_insmod("xfs", ANY_DRIVER_TYPE, NULL, 1); + if (!strcmp(fs, "ext4")) + my_insmod("ext4", ANY_DRIVER_TYPE, NULL, 1); + #endif if (!strcmp(fs, "iso9660")) my_insmod("isofs", ANY_DRIVER_TYPE, NULL, 1); -- cgit v1.2.1