From 1522cc861a123e513400a81b0414d01c8af0a13e Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Sat, 7 Apr 2012 23:48:18 +0000 Subject: Try mounting as btrfs too --- mdk-stage1/NEWS | 1 + mdk-stage1/tools.c | 1 + 2 files changed, 2 insertions(+) (limited to 'mdk-stage1') 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 && -- cgit v1.2.1