HI,
i have installed openwrt on alix board, but i don't understand how can preserve my Compact Flash.
i edited the file /lib/preinit/10_check_for_mtd so:
....
mount_no_mtd() {
mtd unlock rootfs
mount -o remount,rw,noatime /dev/root /
}
....
i have added noatime option.
Now my mount list is:
root@OpenWrt:/lib/preinit# mount
rootfs on / type rootfs (rw)
/dev/root on / type ext2 (rw,noatime)
none on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /dev type tmpfs (rw,relatime,size=512k)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
root@OpenWrt:/lib/preinit#
is sufficient to preserve the compact flash?
or should I do for all?
The files to edit are always in preinit directory?
I can not find correct information on how to set noatime in openwrt.
Many posts say to change the fstab file, but it seems that openwrt is not true.
Help me please?
Thanks