summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2021-02-18 13:17:46 +0200
committerThomas Backlund <tmb@mageia.org>2021-02-18 13:17:46 +0200
commit962e1bee6e04ac78749a74af5133b50eb95d6ac6 (patch)
tree9b7cecf2c5bb3f67de5ff96b7f85f8917651f550
parent5f0f4a5ddf8ef92c7d1d68e1c78103d4ed3a411c (diff)
downloaddrakx-962e1bee6e04ac78749a74af5133b50eb95d6ac6.tar
drakx-962e1bee6e04ac78749a74af5133b50eb95d6ac6.tar.gz
drakx-962e1bee6e04ac78749a74af5133b50eb95d6ac6.tar.bz2
drakx-962e1bee6e04ac78749a74af5133b50eb95d6ac6.tar.xz
drakx-962e1bee6e04ac78749a74af5133b50eb95d6ac6.zip
load exfat module to mount exfat (mga#28371)
-rw-r--r--mdk-stage1/NEWS2
-rw-r--r--mdk-stage1/mount.c4
2 files changed, 6 insertions, 0 deletions
diff --git a/mdk-stage1/NEWS b/mdk-stage1/NEWS
index 9a58ce4d1..fe40b6b1b 100644
--- a/mdk-stage1/NEWS
+++ b/mdk-stage1/NEWS
@@ -1,3 +1,5 @@
+- load exfat module to mount exfat (mga#28371)
+
2.55
- recognize rtw89_pci HID driver
diff --git a/mdk-stage1/mount.c b/mdk-stage1/mount.c
index 2920ff77c..4e70f9c9d 100644
--- a/mdk-stage1/mount.c
+++ b/mdk-stage1/mount.c
@@ -102,6 +102,10 @@ int my_mount(char *dev, char *location, char *fs, int force_rw)
my_modprobe("ntfs", ANY_DRIVER_TYPE, NULL);
}
+ if (!strcmp(fs, "exfat")) {
+ my_modprobe("exfat", ANY_DRIVER_TYPE, NULL);
+ }
+
if (!strcmp(fs, "reiserfs"))
my_modprobe("reiserfs", ANY_DRIVER_TYPE, NULL);