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
commit5e99025d0f73bdffcce6d25c0f5377a833b72472 (patch)
tree29c74c538e985b5432d0fdc276e92adbfc99b328 /mdk-stage1
parent40974e09c82902407f8038596d6f9fc4a65e671f (diff)
downloaddrakx-5e99025d0f73bdffcce6d25c0f5377a833b72472.tar
drakx-5e99025d0f73bdffcce6d25c0f5377a833b72472.tar.gz
drakx-5e99025d0f73bdffcce6d25c0f5377a833b72472.tar.bz2
drakx-5e99025d0f73bdffcce6d25c0f5377a833b72472.tar.xz
drakx-5e99025d0f73bdffcce6d25c0f5377a833b72472.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);