[oe] [PATCH/RFC] base-files: add noatime to rootfs mount options

Koen Kooi k.kooi at student.utwente.nl
Sun Mar 29 11:48:50 UTC 2009


On 15-03-09 21:47, Dmitry Artamonow wrote:
> In most machines' fstabs rootfs mounted with 'defaults' option.
> This implies that atime logging is on - i.e. on every read from
> filesystem kernel writes atime stamp to files' metadata.
> Here in embedded world, where rootfs is usually stored on some
> kind of flash (internal NAND/NOR, or external SD/MMC/CF card)
> it is a real problem, because higher number of writes causes
> flash wearing, higher system load and higher chance of filesystem
> corruption.
>
> Fix it by adding noatime to rootfs mount options in fstab.

Isn't 'relatime' a better option?

regards,

Koen





More information about the Openembedded-devel mailing list