summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdk-stage1/mount.c6
-rw-r--r--mdk-stage1/tools.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/mdk-stage1/mount.c b/mdk-stage1/mount.c
index 40b94a8ec..71d6f111f 100644
--- a/mdk-stage1/mount.c
+++ b/mdk-stage1/mount.c
@@ -203,6 +203,12 @@ 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, "jfs"))
+ my_insmod("jfs", ANY_DRIVER_TYPE, NULL, 1);
+
+ if (!strcmp(fs, "xfs"))
+ my_insmod("xfs", ANY_DRIVER_TYPE, NULL, 1);
+
#endif
if (!strcmp(fs, "iso9660"))
my_insmod("isofs", ANY_DRIVER_TYPE, NULL, 1);
diff --git a/mdk-stage1/tools.c b/mdk-stage1/tools.c
index 55db7b158..36185bcfb 100644
--- a/mdk-stage1/tools.c
+++ b/mdk-stage1/tools.c
@@ -458,6 +458,8 @@ int try_mount(char * dev, char * location)
my_mount(device_fullname, location, "vfat", 0) == -1 &&
my_mount(device_fullname, location, "ntfs", 0) == -1 &&
my_mount(device_fullname, location, "reiserfs", 0) == -1 &&
+ my_mount(device_fullname, location, "jfs", 0) == -1 &&
+ my_mount(device_fullname, location, "xfs", 0) == -1 &&
my_mount(device_fullname, location, "iso9660", 0) == -1) {
return 1;
}