root-odJJhXpcy38dnm+
2012-01-25 18:30:40 UTC
Revision: 2813
Author: tv
Date: 2012-01-25 19:30:40 +0100 (Wed, 25 Jan 2012)
Log Message:
-----------
do not try to alter /etc/mtab, it's linked on /proc anyway..., mount /proc instead
Modified Paths:
--------------
drakx/trunk/rescue/NEWS
drakx/trunk/rescue/guessmounts
Modified: drakx/trunk/rescue/NEWS
===================================================================
--- drakx/trunk/rescue/NEWS 2012-01-25 18:30:36 UTC (rev 2812)
+++ drakx/trunk/rescue/NEWS 2012-01-25 18:30:40 UTC (rev 2813)
@@ -4,6 +4,7 @@
- fix mounting / on LV
- fix mounting / on soft RAID or crypted LV (mga#3778 & mga#448)
- include xz for xz modules
+- mount /proc in chroot
- only consider fstab from the selected fs
- switch to udev
Modified: drakx/trunk/rescue/guessmounts
===================================================================
--- drakx/trunk/rescue/guessmounts 2012-01-25 18:30:36 UTC (rev 2812)
+++ drakx/trunk/rescue/guessmounts 2012-01-25 18:30:40 UTC (rev 2813)
@@ -105,8 +105,8 @@
mkdir_p($where);
print STDERR "\t$dev on $where type $_->{fs_type} options $_->{options}\n";
system("mount -t $_->{fs_type} $dev $where -o $_->{options}");
- system("cp -f /etc/mtab $target/etc/mtab"); #- to allow a nice chrooted "mount" or "df"
}
+ system("mount -t proc proc $target/proc");
print STDERR "\nYour system is ready on $target.\n\n";
} else {
die "Could not find your root device :-(.\n";
Author: tv
Date: 2012-01-25 19:30:40 +0100 (Wed, 25 Jan 2012)
Log Message:
-----------
do not try to alter /etc/mtab, it's linked on /proc anyway..., mount /proc instead
Modified Paths:
--------------
drakx/trunk/rescue/NEWS
drakx/trunk/rescue/guessmounts
Modified: drakx/trunk/rescue/NEWS
===================================================================
--- drakx/trunk/rescue/NEWS 2012-01-25 18:30:36 UTC (rev 2812)
+++ drakx/trunk/rescue/NEWS 2012-01-25 18:30:40 UTC (rev 2813)
@@ -4,6 +4,7 @@
- fix mounting / on LV
- fix mounting / on soft RAID or crypted LV (mga#3778 & mga#448)
- include xz for xz modules
+- mount /proc in chroot
- only consider fstab from the selected fs
- switch to udev
Modified: drakx/trunk/rescue/guessmounts
===================================================================
--- drakx/trunk/rescue/guessmounts 2012-01-25 18:30:36 UTC (rev 2812)
+++ drakx/trunk/rescue/guessmounts 2012-01-25 18:30:40 UTC (rev 2813)
@@ -105,8 +105,8 @@
mkdir_p($where);
print STDERR "\t$dev on $where type $_->{fs_type} options $_->{options}\n";
system("mount -t $_->{fs_type} $dev $where -o $_->{options}");
- system("cp -f /etc/mtab $target/etc/mtab"); #- to allow a nice chrooted "mount" or "df"
}
+ system("mount -t proc proc $target/proc");
print STDERR "\nYour system is ready on $target.\n\n";
} else {
die "Could not find your root device :-(.\n";