On Tue, May 11, 2010 at 11:20:32PM +0200, [email protected] wrote:
> 07.05.2010 10:15, Martin Jansa пишет:
>
> > 5) After few batery removals I usually get some ext2 errors, which are
> > resolved with fsck sometimes without any harm, but sometimes not so
> > successfully, so reflash is better to return to well-defined state.
>
> Do I need to configure it somewhere?
I don't think so :/.
> Because right now it looks like fsck is not running during boot even if ext2
> filesystem wasn't cleanly unmounted.
I added it to /etc/init.d/checkroot.sh in my reflash script..
SHR r...@gojama ~ $ diff /etc/init.d/checkroot.sh.1 /etc/init.d/checkroot.sh
--- /etc/init.d/checkroot.sh.1 Wed May 12 15:33:36 2010
+++ /etc/init.d/checkroot.sh Wed May 5 02:44:28 2010
@@ -28,6 +28,7 @@
rootmode=rw
echo "Remounting root file system..."
+ fsck -y / </dev/null
mount -n -o remount,noatime,$rootmode /
if test "$rootmode" = rw
then
--
uin:136542059 jid:[email protected]
Jansa Martin sip:[email protected]
JaMa
_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user