summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-06-09 10:50:50 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-06-09 10:50:50 +0000
commit858a4ec3ea127a1f57312e38f432dcdd2771d997 (patch)
tree6525d3b1a62284e682e7fcf857e9735099ddbab5
parent6b3ca192d2f268248fc66e30a78331dbc6f154e1 (diff)
downloaddrakx-858a4ec3ea127a1f57312e38f432dcdd2771d997.tar
drakx-858a4ec3ea127a1f57312e38f432dcdd2771d997.tar.gz
drakx-858a4ec3ea127a1f57312e38f432dcdd2771d997.tar.bz2
drakx-858a4ec3ea127a1f57312e38f432dcdd2771d997.tar.xz
drakx-858a4ec3ea127a1f57312e38f432dcdd2771d997.zip
prevent warning message about /proc to appear at boot
-rwxr-xr-xglobetrotter/make_live4
1 files changed, 3 insertions, 1 deletions
diff --git a/globetrotter/make_live b/globetrotter/make_live
index 2d9f3e36f..3fde3331e 100755
--- a/globetrotter/make_live
+++ b/globetrotter/make_live
@@ -367,7 +367,9 @@ sub doRootSubst {
#fs::merge_info_from_mtab($fstab);
fs::write_fstab($all_hds, $::prefix);
-append_to_file("$::prefix/etc/fstab", "none /dev/pts devpts mode=0620 0 0");
+append_to_file("$::prefix/etc/fstab",
+ "none /dev/pts devpts mode=0620 0 0\n",
+ "none /proc proc defaults 0 0\n");
doRootSubst("$::prefix/etc/fstab");
my ($home) = grep { $_->{mntpoint} eq "/home" } @parts;