Перемонтируем ro в rw
Добрый день. Есть ТВ приставка, хочу редактировать содержимое файловой системы. Сейчас на ней залита прошивка провайдера, файловая система ubifs, ro. Модель приставки - imaqliq g-box.
mount
rootfs on / type rootfs (rw)
ubi0:rootfs on / type ubifs (ro,relatime)
devtmpfs on /dev type devtmpfs (rw,size=177556k,nr_inodes=44389,mode=755)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,relatime,mode=777)
tmpfs on /tmp type tmpfs (rw,relatime,size=98304k,mode=777)
tmpfs on /media type tmpfs (rw,relatime)
ubi1:config on /etc/config type ubifs (rw,relatime)
cat proc/cpuinfo
machine : stb9
processor : 0
cpu family : sh4
cpu variant : st40-300
cpu type : STxH205
cut : 2.x
cpu flags : fpu icbi synco fpchg
cache type : split (harvard)
icache size : 32KiB (2-way)
dcache size : 32KiB (2-way)
address sizes : 32 bits physical
bogomips : 544.76
df -h
Filesystem Size Used Available Use% Mounted on
ubi0:rootfs 55.3M 55.3M 0 100% /
devtmpfs 173.4M 0 173.4M 0% /dev
tmpfs 173.5M 4.0K 173.4M 0% /dev/shm
tmpfs 96.0M 120.0K 95.9M 0% /tmp
tmpfs 173.5M 0 173.5M 0% /media
ubi1:config 3.0M 120.0K 2.7M 4% /etc/config
uname -a
Linux 2.6.32.59-b2067 #1 Fri May 22 02:51:55 MSK 2015 sh4 GNU/Linux
mount -o rw,remount /
mount -t ubifs -o remount,rw ubi0:rootfs /
UBIFS: cannot re-mount due to prior errors