Directories read only

Hello,
I’m using ConnectME9210 with DigiEL-5.0
When I try to add or chmod directories on the target, I get the error Read-only file system
Here is the result of a ls -l
BusyBox v1.11.3 (2008-10-06 12:01:16 CEST) built-in shell (ash)
Enter ‘help’ for a list of built-in commands.

/ # ls -l
drwxr-xr-x 2 default 1000 677 Oct 6 2008 bin
drwxrwxrwt 3 root root 1080 Jan 1 00:00 dev
drwxr-xr-x 7 default 1000 286 Oct 31 2008 etc
drwxr-xr-x 3 default 1000 24 Oct 31 2008 home
drwxr-xr-x 3 default 1000 452 Oct 31 2008 lib
lrwxrwxrwx 1 default 1000 10 Oct 31 2008 media -> /tmp/media
lrwxrwxrwx 1 default 1000 8 Oct 31 2008 mnt -> /tmp/mnt
drwxr-xr-x 2 default 1000 3 Oct 31 2008 nfs
drwxr-xr-x 2 default 1000 3 Oct 31 2008 opt
dr-xr-xr-x 32 root root 0 Jan 1 00:00 proc
drwxr-xr-x 2 default 1000 3 Oct 31 2008 root
drwxr-xr-x 2 default 1000 431 Oct 31 2008 sbin
drwxr-xr-x 11 root root 0 Jan 1 00:00 sys
drwxrwxrwt 5 root root 100 Jan 1 00:00 tmp
drwxr-xr-x 6 default 1000 47 Oct 31 2008 usr
lrwxrwxrwx 1 default 1000 8 Oct 31 2008 var -> /tmp/var
/ #

I don’t have the problem for the directories marqued as “root”, I have the problem for the “1000” marqued directories. Example, I want to put some html files for the boa server but I can’t write file on a read-only directory.
After some search I discover that the problem is probably due to squashfs program that don’t mount some directories as write enable. Is someone has a solution?
Indeed, a web server without html file is useless :-))
Regards,

Message was edited by: monnoliv

Well, just a quick scanning of your ls tree there, it looks as though the only places you can write to are ramdisk-based areas (dev, proc, sys, etc…).

Therefore, you’re not actually writing to the squashfs. Also without lots of convoluted boot procedures, I’m not aware of any way to make the squashfs easily writeable on boot.

I’m currently looking down a similar path and hitting lots of dead ends.

You might want to look into using the remaing 0xF0000-size partition as a jffs2 partition… but then again, you’ll like need some convoluted boot procedures if you don’t want to redo your device’s shipped squashfs.

Message was edited by: thcobbs

squashfs is read only. You have 2 options here, prefered is create and mount user jffs2 partition, then use it to store data. Alternatively, just switch your root partition to jffs2.