I'm useing OpenWrt SNAPSHOT r12138-1e3bfbafd3 for my tp-link c59v2 router.
I implemented successfullu ext-root to external USB. I see flash drive has been mounted with realtime option.
root@a81m3:/home/sam# mount | grep sd
/dev/sda1 on / type ext4 (rw,sync,relatime)
root@a81m3:/home/sam#
How to force /dev/sda1 mount on / only with rw,noatime,nodiratime?
by the way. Could you briefly explain how to access device flash (for edit device /etc/config/fstab) whenever external root mounted?
You right sometimes it not quick fix manually unplug flash and access device flash.
Please always try to read posts carefully before blaming somebody. My original question was: I successfully implemented ext-root and i'd like to change mount options w/o removing flash as per router most of the times at remote location far away from me.
of course I read this (not only you can read...) openwrt ext-root howto has following:
...The directory /rwm will contain the original root overlay, which is used as the main root overlay until the extroot is up and running...
it means /rwm can be seen as before system switched to ext-root.
see bellow:
root@a81m3:/home/sam# ls / | grep r
overlay
proc
rom
root
usr
var
root@a81m3:/home/sam# ls /tmp | grep r
board.json
resolv.conf
resolv.conf.auto
run
syslog-ng.persist
usr
root@a81m3:/home/sam#
There's no such /rwm anywhere in OpenWrt because it is just a self created directory to mount the original flash space. Firs you need to identify your rootfs_data. It could be done through cat /proc/mtd and then you can create a mount point in the fstab after the ExtRoot has booted up. If you use the original fstab before ExtRoot then you won't be able to access it under ExtRoot.