summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdk-stage1/mount.c39
1 files changed, 0 insertions, 39 deletions
diff --git a/mdk-stage1/mount.c b/mdk-stage1/mount.c
index 4e70f9c9d..178eb0a41 100644
--- a/mdk-stage1/mount.c
+++ b/mdk-stage1/mount.c
@@ -92,48 +92,9 @@ int my_mount(char *dev, char *location, char *fs, int force_rw)
#ifndef DISABLE_MEDIAS
if (!strcmp(fs, "vfat")) {
- my_modprobe("nls_cp437", ANY_DRIVER_TYPE, NULL);
- my_modprobe("nls_iso8859_1", ANY_DRIVER_TYPE, NULL);
- my_modprobe("vfat", ANY_DRIVER_TYPE, NULL);
opts = "check=relaxed";
}
-
- if (!strcmp(fs, "ntfs")) {
- 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);
-
- if (!strcmp(fs, "reiser4"))
- my_modprobe("reiser4", ANY_DRIVER_TYPE, NULL);
-
- if (!strcmp(fs, "jfs"))
- my_modprobe("jfs", ANY_DRIVER_TYPE, NULL);
-
- if (!strcmp(fs, "xfs"))
- my_modprobe("xfs", ANY_DRIVER_TYPE, NULL);
-
- if (!strcmp(fs, "ext4"))
- my_modprobe("ext4", ANY_DRIVER_TYPE, NULL);
-
- if (!strcmp(fs, "btrfs"))
- my_modprobe("btrfs", ANY_DRIVER_TYPE, NULL);
-
#endif
- if (!strcmp(fs, "iso9660"))
- my_modprobe("isofs", ANY_DRIVER_TYPE, NULL);
-
-#ifndef DISABLE_NETWORK
- if (!strcmp(fs, "nfs")) {
- my_modprobe("nfs", ANY_DRIVER_TYPE, NULL);
- }
-#endif
-
char *cmd;
rc = asprintf(&cmd, "mount %s %s -t %s -o %s%s > /dev/null 2>&1", dev, location, fs, (force_rw ? "" : "ro,"), (opts ? opts : ""));
if (rc == -1) {