summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2012-04-07 23:48:18 +0000
committerPascal Terjan <pterjan@mageia.org>2012-04-07 23:48:18 +0000
commit1522cc861a123e513400a81b0414d01c8af0a13e (patch)
treef4a5d1050260a5dcfb52f21d89ecfdc6ed36dbc0
parent5e99025d0f73bdffcce6d25c0f5377a833b72472 (diff)
downloaddrakx-1522cc861a123e513400a81b0414d01c8af0a13e.tar
drakx-1522cc861a123e513400a81b0414d01c8af0a13e.tar.gz
drakx-1522cc861a123e513400a81b0414d01c8af0a13e.tar.bz2
drakx-1522cc861a123e513400a81b0414d01c8af0a13e.tar.xz
drakx-1522cc861a123e513400a81b0414d01c8af0a13e.zip
Try mounting as btrfs too
-rw-r--r--mdk-stage1/NEWS1
-rw-r--r--mdk-stage1/tools.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/mdk-stage1/NEWS b/mdk-stage1/NEWS
index fd27cff56..e4f741658 100644
--- a/mdk-stage1/NEWS
+++ b/mdk-stage1/NEWS
@@ -1,4 +1,5 @@
- load btrfs module to mount btrfs
+- try mounting as btrfs
1.64
- default to "screen" instead of "linux" terminfo (mga#4894)
diff --git a/mdk-stage1/tools.c b/mdk-stage1/tools.c
index 08fab5559..a95fd79e8 100644
--- a/mdk-stage1/tools.c
+++ b/mdk-stage1/tools.c
@@ -273,6 +273,7 @@ int try_mount(char * dev, char * location)
snprintf(device_fullname, sizeof(device_fullname), "/dev/%s", dev);
if (my_mount(device_fullname, location, "ext4", 0) == -1 &&
+ my_mount(device_fullname, location, "btrfs", 0) == -1 &&
my_mount(device_fullname, location, "vfat", 0) == -1 &&
my_mount(device_fullname, location, "ntfs", 0) == -1 &&
my_mount(device_fullname, location, "reiserfs", 0) == -1 &&