Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (d29b6c695bca8d97ead4ecbb187635faa3e51d3a)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Jaka Kranjc <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (d29b6c695bca8d97ead4ecbb187635faa3e51d3a)
  • Date: Fri, 22 Aug 2008 08:36:23 -0500

GIT changes to master grimoire by Jaka Kranjc <lynxlynxlynx AT sourcemage.org>:

smgl/init.d/HISTORY | 4 ++++
smgl/init.d/init.d/mountroot.sh | 4 +++-
2 files changed, 7 insertions(+), 1 deletion(-)

New commits:
commit d29b6c695bca8d97ead4ecbb187635faa3e51d3a
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>

mountroot.sh: don't unconditionally overwrite the mtab and do it
properly #14665

diff --git a/smgl/init.d/HISTORY b/smgl/init.d/HISTORY
index 194f642..23bbda9 100644
--- a/smgl/init.d/HISTORY
+++ b/smgl/init.d/HISTORY
@@ -1,3 +1,7 @@
+2008-08-22 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+ * mountroot.sh: don't unconditionally overwrite the mtab and do it
+ properly #14665
+
2008-07-24 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: 2.2.4, added new facility crypt_fs, for the things like
loop-aes, ecryptfs, dm-crypt, etc.
diff --git a/smgl/init.d/init.d/mountroot.sh b/smgl/init.d/init.d/mountroot.sh
index d2bba1a..a3883bb 100755
--- a/smgl/init.d/init.d/mountroot.sh
+++ b/smgl/init.d/init.d/mountroot.sh
@@ -78,7 +78,9 @@ start()
echo "Mounting root file system read/write..."
{
mount -n -o remount,rw / &&
- echo > /etc/mtab &&
+ if ! [[ -h /etc/mtab ]]; then
+ builtin echo > /etc/mtab
+ fi &&
mount -f -o remount,rw /
} || exit 1




  • [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (d29b6c695bca8d97ead4ecbb187635faa3e51d3a), Jaka Kranjc, 08/22/2008

Archive powered by MHonArc 2.6.24.

Top of Page