|
From: <abe...@us...> - 2014-04-03 22:36:31
|
Revision: 6486
http://sourceforge.net/p/astlinux/code/6486
Author: abelbeck
Date: 2014-04-03 22:36:29 +0000 (Thu, 03 Apr 2014)
Log Message:
-----------
On boot use 'e2fsck -y' instead of 'e2fsck -p' since common corruption will not be automatically fixed with '-p'. Thanks to Martin Sunstrum for demonstrating the problem.
Ref: http://askubuntu.com/questions/151025/how-can-i-make-fsck-run-non-interactively-at-boot-time
Modified Paths:
--------------
branches/1.0/project/astlinux/target_skeleton/etc/rc
branches/1.0/project/initrd/target_skeleton/linuxrc
Modified: branches/1.0/project/astlinux/target_skeleton/etc/rc
===================================================================
--- branches/1.0/project/astlinux/target_skeleton/etc/rc 2014-04-03 21:03:31 UTC (rev 6485)
+++ branches/1.0/project/astlinux/target_skeleton/etc/rc 2014-04-03 22:36:29 UTC (rev 6486)
@@ -15,7 +15,7 @@
fi
echo "Checking $1"
- e2fsck -p $1 >/dev/null
+ e2fsck -y $1 >/dev/null
status="$?"
Modified: branches/1.0/project/initrd/target_skeleton/linuxrc
===================================================================
--- branches/1.0/project/initrd/target_skeleton/linuxrc 2014-04-03 21:03:31 UTC (rev 6485)
+++ branches/1.0/project/initrd/target_skeleton/linuxrc 2014-04-03 22:36:29 UTC (rev 6486)
@@ -108,7 +108,7 @@
# check fsck here... (toss stdout, but keep stderr)
- e2fsck -p $ASTURW >/dev/null
+ e2fsck -y $ASTURW >/dev/null
status=$?
case $status in
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|