diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2017-08-31 20:18:39 -0700 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2017-10-02 19:26:39 +0200 |
commit | ae968c66bbd50dd8538fb41fa68f904f901bb606 (patch) | |
tree | 03ae4083b43b99e69e946031b44241229ae5b09e /include/asm-offsets.h | |
parent | 4370811cbaf9a3dd1c34fe51532d1454328e6de8 (diff) |
apalis/colibri: fix and synchronize mount options
The kernel does not know about rw,noatime. The string rw by itself
is valid, and to pass additional arguments rootflags=noatime can
be used. The kernel mounts ext3/ext4 file systems by default ro,
hence so far the kernel mounted the rootfs read-only. The init
manager systemd then remounts the rootfs after file system checking.
This makes sense and does not add measureable boot time. Let the
kernel explicitly mount ro on block device based rootfs.
The root mount flag noatime is only relevant when re-mounting
read-write, hence it needs to be present in /etc/fstab.
UBIFS used on raw NAND devices has no user space file checking,
hence there is no value to mount it in read-only first. Also mount
time for UBIFS is larger, and mounting first read-only and then
read-write has higher boot time (300ms, likely due to missing block
cache). Let the kernel explicitly mount rw on raw NAND based rootfs.
UBIFS has no atime support, hence no root mount flags needed.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'include/asm-offsets.h')
0 files changed, 0 insertions, 0 deletions