summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2012-04-07 22:39:24 +0000
committerPascal Terjan <pterjan@mageia.org>2012-04-07 22:39:24 +0000
commitee4e039af0f3973daf348f9c10449a43bab8cd29 (patch)
tree29c74c538e985b5432d0fdc276e92adbfc99b328 /mdk-stage1
parent00e98832e64c73c960bbef807638839b012bad60 (diff)
downloaddrakx-backup-do-not-use-ee4e039af0f3973daf348f9c10449a43bab8cd29.tar
drakx-backup-do-not-use-ee4e039af0f3973daf348f9c10449a43bab8cd29.tar.gz
drakx-backup-do-not-use-ee4e039af0f3973daf348f9c10449a43bab8cd29.tar.bz2
drakx-backup-do-not-use-ee4e039af0f3973daf348f9c10449a43bab8cd29.tar.xz
drakx-backup-do-not-use-ee4e039af0f3973daf348f9c10449a43bab8cd29.zip
load btrfs module to mount btrfs
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/NEWS2
-rw-r--r--mdk-stage1/mount.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/mdk-stage1/NEWS b/mdk-stage1/NEWS
index b53f0e583..fd27cff56 100644
--- a/mdk-stage1/NEWS
+++ b/mdk-stage1/NEWS
@@ -1,3 +1,5 @@
+- load btrfs module to mount btrfs
+
1.64
- default to "screen" instead of "linux" terminfo (mga#4894)
diff --git a/mdk-stage1/mount.c b/mdk-stage1/mount.c
index e73a2135a..6c180d8e6 100644
--- a/mdk-stage1/mount.c
+++ b/mdk-stage1/mount.c
@@ -234,6 +234,9 @@ int my_mount(char *dev, char *location, char *fs, int force_rw)
if (!strcmp(fs, "ext4"))
my_insmod("ext4", ANY_DRIVER_TYPE, NULL, 1);
+ if (!strcmp(fs, "btrfs"))
+ my_insmod("btrfs", ANY_DRIVER_TYPE, NULL, 1);
+
#endif
if (!strcmp(fs, "iso9660"))
my_insmod("isofs", ANY_DRIVER_TYPE, NULL, 1);