From: Dmitry Artamonow <mad_soft@inbox.ru>
To: openembedded-devel@openembedded.org
Subject: Re: automatic fsck?
Date: Sun, 15 Mar 2009 23:45:09 +0300 [thread overview]
Message-ID: <20090315204509.GA17505@rainbow> (raw)
In-Reply-To: <49BAA810.4070906@cesgames.com>
On 13:38 Fri 13 Mar , JustinLove wrote:
> So far I've figured out:
>
> - fstab has '1' in last column for rootfs
> - Install e2fsprogs-fsck and/or e2fsprogs-e2fsck
> - change ENABLE_ROOTFS_FSCK=yes in /etc/default/rcS
> - Specify "ro" on kernel command line
> - "shutdown -F -r now", but this has no effect, I still get the warning
> message
>
> What am I missing?
If I remember correctly, you also need to specify your fs type (ext3 instead
of auto) and real device (/dev/mmcblk0p2 instead of rootfs) in your
fstab. Maybe that'll help.
In fact there's other problem, and much bigger - by default rootfs
gets mounted with 'defaults' option, and it silently wears your flash,
because 'defaults' imply atime turned on. It may be one of the causes
of FS corruption too. Guess, I'll roll a patch fixing that.
--
Best regards,
Dmitry "MAD" Artamonow
next prev parent reply other threads:[~2009-03-15 20:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-13 18:38 automatic fsck? JustinLove
2009-03-15 20:45 ` Dmitry Artamonow [this message]
2009-03-16 19:19 ` JustinLove
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090315204509.GA17505@rainbow \
--to=mad_soft@inbox.ru \
--cc=openembedded-devel@lists.openembedded.org \
--cc=openembedded-devel@openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.