From: Thomas Heller <theller@ctypes.org>
To: ptxdist@pengutronix.de
Subject: [ptxdist] fsck at boot
Date: Fri, 21 Feb 2014 17:57:48 +0100 [thread overview]
Message-ID: <5307858C.6030400@ctypes.org> (raw)
I have an SD card (formatted vfat) in my system where logfiles
are written to. Sometimes (after system crashes because of
heavy EMI) the file system gets damaged and on the next boot
the SD card is mounted read-only. I can manually run
'fsck.vfat -a /dev/mmcblk0p1' to repair it.
How can I configure ptxdist so that this command is automatically
run after booting? I tried setting the 6. field in /etc/fstab to '2'
instead of '0', I tried creating a file '/forcefsk', but it seems
nothing helped.
Any tips?
Thanks, Thomas
--
ptxdist mailing list
ptxdist@pengutronix.de
next reply other threads:[~2014-02-21 16:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-21 16:57 Thomas Heller [this message]
2014-03-06 17:35 ` Michael Olbrich
2014-03-07 19:03 ` Thomas Heller
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=5307858C.6030400@ctypes.org \
--to=theller@ctypes.org \
--cc=ptxdist@pengutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox