add noatime flag to fstab for better performance

fixup 9d25cac
This commit is contained in:
SolidHal 2018-11-07 17:54:17 +00:00 committed by GitHub
parent 9d25cac20a
commit cd9609269a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ then
mkdir -p /mnt/mmc/
rsync -ah --info=progress2 --info=name0 --numeric-ids -x / /mnt/mmc/
#Install a base fstab
echo "/dev/mmcblk2p2 / ext4 defaults 0 1" > /mnt/mmc/etc/fstab
echo "/dev/mmcblk2p2 / ext4 defaults,noatime 0 1" > /mnt/mmc/etc/fstab
umount /dev/mmcblk2
echo Running fsck
e2fsck -p -f /dev/mmcblk2p2