From 962e1bee6e04ac78749a74af5133b50eb95d6ac6 Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Thu, 18 Feb 2021 13:17:46 +0200 Subject: load exfat module to mount exfat (mga#28371) --- mdk-stage1/NEWS | 2 ++ mdk-stage1/mount.c | 4 ++++ 2 files changed, 6 insertions(+) (limited to 'mdk-stage1') 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); -- cgit v1.2.1