summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
Diffstat (limited to 'rescue')
-rw-r--r--rescue/NEWS1
-rwxr-xr-xrescue/bin/guessmounts3
2 files changed, 4 insertions, 0 deletions
diff --git a/rescue/NEWS b/rescue/NEWS
index 1f6f24a81..7469c0785 100644
--- a/rescue/NEWS
+++ b/rescue/NEWS
@@ -1,3 +1,4 @@
+- guessmount: mount /dev, /run & /sys too (mga#10865)
- lsparts (mga#8854):
o display label too
o silent run_program
diff --git a/rescue/bin/guessmounts b/rescue/bin/guessmounts
index 27b920c9d..13ec2802e 100755
--- a/rescue/bin/guessmounts
+++ b/rescue/bin/guessmounts
@@ -138,6 +138,9 @@ if ($root) {
system("mount -t $_->{fs_type} $dev $where -o $_->{options}");
}
system("mount -t proc proc $target/proc");
+ foreach (qw(/dev /run /sys)) {
+ system('mount', '--bind', $_, "$target/$_");
+ }
print STDERR "\nYour system is ready on $target.\n\n";
} else {
die "Could not find your root device :-(.\n";