Uncategorized

Raspberry Pi – Increase SD Card Reliability

sudo nano /etc/default/rcS

# delete files in /tmp during boot older than x days.
# '0' means always, -1 or 'infinite' disables the feature
TMPTIME=0
# automatically repair with inconsistencies during boot
FSCKFIX=yes

sudo nano /etc/rc.local


...
...
fi
# automatically check filesystems every boot
touch /forcefsck
exit 0

sudo reboot

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s