From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from moutng.kundenserver.de ([212.227.126.171]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WGtQL-0001N7-Iz for ptxdist@pengutronix.de; Fri, 21 Feb 2014 17:58:06 +0100 Message-ID: <5307858C.6030400@ctypes.org> Date: Fri, 21 Feb 2014 17:57:48 +0100 From: Thomas Heller MIME-Version: 1.0 Subject: [ptxdist] fsck at boot Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de 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