mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] fsck at boot
@ 2014-02-21 16:57 Thomas Heller
  2014-03-06 17:35 ` Michael Olbrich
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Heller @ 2014-02-21 16:57 UTC (permalink / raw)
  To: ptxdist

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-03-07 19:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-21 16:57 [ptxdist] fsck at boot Thomas Heller
2014-03-06 17:35 ` Michael Olbrich
2014-03-07 19:03   ` Thomas Heller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox