My host filesystem is ext4
mounted with the noatime
flag. But inside an lxc-container, the flag is absent.
Here's the output of mount
on the host:
/dev/sdb1 on /home type ext4 (rw,noatime)
And here's the output of mount
in the container:
/dev/sdb1 on / type ext4 (rw)
I now have two questions:
1. Does it make a difference if noatime
is set in the container?
My guess is yes.
2. What is the best way to set noatime
for the container?
Ideally, I would like to configure such a way, that it honors the host's file system flags always.
Update
The /proc/mounts
shows slightly different entries:
rootfs / rootfs rw 0 0
/dev/sdb1 /home ext4 rw,noatime 0 0