#/etc/udev/rules.d/noatime.rules # Rule that illustrates (re-)mounting mmc/SD devices with noatime # IMPORTANT: Give the system time to mount before we re-mount with noatime ACTION=="add", KERNEL=="mmcblk[0-9]p[0-9]", SUBSYSTEM=="block", ENV{DEVTYPE}=="partition", ENV{ID_FS_USAGE}="filesystem", ENV{ID_FS_LABEL}=="?*", RUN+="/bin/sleep 5" ACTION=="add", KERNEL=="mmcblk[0-9]p[0-9]", SUBSYSTEM=="block", ENV{DEVTYPE}=="partition", ENV{ID_FS_USAGE}="filesystem", ENV{ID_FS_LABEL}=="?*", RUN+="/bin/mount -o remount,noatime /media/$env{ID_FS_LABEL}"