A quick description of the filesystem. The root filesystem '/' and everything below it is read only and is stored in flash memory. The mount command is used to make any additional drives/partitions appear as sub-directories at any point in the filesystem - these can be read/write. The mount command with no additional paramteres lists out the mount points.
Code:
$ mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
devpts on /dev/pts type devpts (rw)
tmpfs on /tmp type tmpfs (rw)
tmpfs on /media type tmpfs (rw)
/dev/mtdblock1 on /var/lib/humaxtv type jffs2 (rw)
/dev/mtdblock2 on /var/lib/humaxtv_backup type jffs2 (rw)
/dev/mtdblock2 on /usr/browser/opera_dir/url/url.txt type jffs2 (rw)
/dev/sda1 on /mnt/hd1 type ext3 (rw,data=ordered)
/dev/sda2 on /mnt/hd2 type ext3 (rw,data=ordered)
/dev/sda3 on /mnt/hd3 type ext3 (rw,data=ordered)
The three hard disk partitions appear as /mnt/hd1, /mnt/hd2 and /mnt/hd3.
/media and /tmp are both mounted as ramdisks.
/media has symbolic links within it to link back to /mnt/hd2/My Video etc. so that recordings appear to be under /media.
The mount on /usr/browser/opera_dir/url/url.txt is a 'bind' mount and is used to map a new file on top of the original readonly file in order to start the new-portal.
There are two read/writable flash partitions under /var/lib/humaxtv and /var/lib/humaxtv_backup
the symbolic links /mod/boot and /mod/boot/2 link to 'mod' subdirectories within these two flash partitions
Code:
$ ls -l /mod/boot /mod/boot/2
lrwxrwxrwx 1 root root 20 Nov 30 11:26 /mod/boot -> /var/lib/humaxtv/mod/
lrwxrwxrwx 1 root root 27 Oct 15 2011 /mod/boot/2 -> /var/lib/humaxtv_backup/mod/
------------------------------
Here's what I suggest (although I haven't tried it out). Using option 2 in the previous post and saving the files on the flash partition(s) because I think they will be more likely to work from there.
Copy opera.ini to the /mod/boot/2/ directory
Append the following to the "Plugin Path" line ';/var/lib/humaxtv/mod/opera/plugins'
Create the directory /mod/boot/opera/plugins
Copy any additional plugins to that directory (it shouldn't be necessary to copy the originals in /usr/browser/
Append the following to /mod/boot/xinit.d/new-portal
Code:
[ -f /usr/browser/opera_home/opera.ini ] && \
mount --bind \
/var/lib/humaxtv_backup/mod/opera.ini \
/usr/browser/opera_home/opera.ini
Reboot to make it active.
A mount, setup by the mount command is normally only active during the current session. By editing the new-portal script above, it will be run on startup before humaxapp starts up.
Note: You need to be a bit careful when modifying anything on the flash partitions since an error may prevent the Humax from starting up.
Apologies for the long post