Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

increase SD card lifetime #14

Open
umiddelb opened this issue Jan 18, 2016 · 1 comment
Open

increase SD card lifetime #14

umiddelb opened this issue Jan 18, 2016 · 1 comment

Comments

@umiddelb
Copy link

Hi,

I'd suggest to add some settings for the image generation procedure which will help to increase the SD card lifetime:

  • create the ext4 filesystem without the journal, e.g:
mkfs.ext4 -O ^has_journal -b 4096 -U 9d5de372-3a98-4c65-a236-40d7912153b4 ...
  • add / to /etc/fstab like
UUID=9d5de372-3a98-4c65-a236-40d7912153b4  /  ext4  errors=remount-ro,noatime,nodiratime  0  1
@zelo
Copy link

zelo commented May 16, 2016

nodiratime is already "contained" in noatime source:https://lwn.net/Articles/245002/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants