I have an embedded system using jffs2 and want to pass rootflags=noatime in the kernel bootargs parameter.
This results in a kernel panic:
jffs2: Error: unrecognized mount option 'noatime' or missing value
[...]
No filesystem could mount root, tried: jffs2
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
However, if I boot normally and then remount the jffs2 filesystem with noatime, it works fine:
$ mount -o remount,noatime /
I am puzzled by this as according to the documentation, the rootflags argument "allows you to give options pertaining to the mounting of the root filesystem just as you would to the mount program".
Looks like a kernel bug to me, but on the other hand it seems so obvious that perhaps I am overlooking something.
I have tested this with kernel versions 3.7 and 3.14.
Can someone shed some light?