Skip to content

Commit

Permalink
automount: mount sdcard with noatime
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasroche898 authored and gtxaspec committed Oct 18, 2024
1 parent 29596d6 commit 9c4c51f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion overlay/lower/usr/lib/mdev/automount
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ do_mount() {

# do_fsck || return 1

if mount -t auto -o sync "$devicenode" "$mountpoint"; then
if mount -t auto -o noatime,sync "$devicenode" "$mountpoint"; then
log "Mounted $devicenode to $mountpoint mountpoint."
else
log "Failed to mount $devicenode to $mountpoint mountpoint."
Expand Down

0 comments on commit 9c4c51f

Please sign in to comment.