summaryrefslogtreecommitdiffstats
path: root/rescue/guessmounts
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-05-23 18:28:26 +0000
committerThierry Vignaud <tv@mageia.org>2012-05-23 18:28:26 +0000
commit75324906f7f0da9fb9245027235b5b499830b264 (patch)
tree70e9063b95637275550438af1e4c2a08a20b21d9 /rescue/guessmounts
parent72c6ff980447b5393ba66907c75b929dd0293974 (diff)
downloaddrakx-backup-do-not-use-75324906f7f0da9fb9245027235b5b499830b264.tar
drakx-backup-do-not-use-75324906f7f0da9fb9245027235b5b499830b264.tar.gz
drakx-backup-do-not-use-75324906f7f0da9fb9245027235b5b499830b264.tar.bz2
drakx-backup-do-not-use-75324906f7f0da9fb9245027235b5b499830b264.tar.xz
drakx-backup-do-not-use-75324906f7f0da9fb9245027235b5b499830b264.zip
explain
Diffstat (limited to 'rescue/guessmounts')
-rwxr-xr-xrescue/guessmounts1
1 files changed, 1 insertions, 0 deletions
diff --git a/rescue/guessmounts b/rescue/guessmounts
index f94dc09ea..0f5da6e48 100755
--- a/rescue/guessmounts
+++ b/rescue/guessmounts
@@ -78,6 +78,7 @@ my ($root, $fs, @fstab);
# Try Mageia first:
if (@roots) {
+ # Then pick mga over mdv:
@roots = map { @$_ } partition { $_->{release} =~ /Mageia/ } @roots;
my $selected = first(@roots);
$root = $selected->{dev};