I need to a make a modification to a file /etc/init.d/rcS. So I did:
1. mount -o rw,remount /
2. modified the file rcS
3. mount -o ro,remount /
4. The "mount" shows:
rootfs on / type rootfs (rw)
ubi0:rootfs on / type ubifs (ro,relatime)
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,relatime)
none on /dev/pts type devpts (rw,relatime,mode=600)
none on /tmp type tmpfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
5. Reboot
4. The "mount" shows:
rootfs on / type rootfs (rw)
ubi0:rootfs on / type ubifs (rw,relatime)
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,relatime)
none on /dev/pts type devpts (rw,relatime,mode=600)
none on /tmp type tmpfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)