diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-04-30 10:20:19 -0400 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-04-30 21:26:54 +0200 |
commit | 659ab26a581ce73eb5ed83dfc34e398ab9d81dcb (patch) | |
tree | 8c8679b16e03cffd79a6fec3382012de0d4efb47 /rescue/bin | |
parent | c0b634dd6e8585e7ee85fb8f1965476ae0ad58e8 (diff) | |
download | drakx-659ab26a581ce73eb5ed83dfc34e398ab9d81dcb.tar drakx-659ab26a581ce73eb5ed83dfc34e398ab9d81dcb.tar.gz drakx-659ab26a581ce73eb5ed83dfc34e398ab9d81dcb.tar.bz2 drakx-659ab26a581ce73eb5ed83dfc34e398ab9d81dcb.tar.xz drakx-659ab26a581ce73eb5ed83dfc34e398ab9d81dcb.zip |
guessmount: mount {/dev,/run,/sys} too (mga#10865)
those are mounted by udev not fstab those days
Diffstat (limited to 'rescue/bin')
-rwxr-xr-x | rescue/bin/guessmounts | 3 |
1 files changed, 3 insertions, 0 deletions
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"; |