Hacker News new | ask | show | jobs
by tempfs 1692 days ago
Add something like this to your /etc/fstab. Will save a few touches to the SD card and enhance system security a little. My last SD went for 3+ years on a decently busy little Pi.

  ##
  ## Decrease touches to root partition a little with noatime flag
  ##
  /dev/mmcblk<NUM>p<NUM>  /               ext4    defaults,noatime  0       1


  ##
  ## decrease writes because tmp activity by mounting as tmpfs
  ##
  tmpfs /tmp tmpfs ddefaults,nodev,nosuid,noexec,noatime,mode=1777 0 0


  ##
  ## /dev/shm security measure
  ##
  tmpfs /dev/shm tmpfs defaults,noexec,nodev,nosuid 0 0