simon at baydel.com
Tue Feb 24 10:47:23 EST 2004
On Tuesday 24 Feb 2004 3:35 pm, David Woodhouse wrote:
> On Tue, 2004-02-24 at 14:58 +0000, Simon Haynes wrote:
> > I have just created the fs with a rw mtdblock kernel and rebooted with a
> > ro mtdblock. This attempts to remount rw but it cannot.
> Hmm. OK, hack jffs2 to use the same major number as ramdisk, then try to
> mount /dev/ram2 instead :)
I hacked fs/jffs2/super.c and fs/jffs2/super_v24.c. Only the v24 got
compiled. I guess this is because my kernel is 2.4.21. I had to also include
ramdisk in the kernel as it was previously missing ? Does this effect MTD ?
This mounted rw.
-bash-2.05b# ls -l /dev/ram2
brw-rw---- 1 root disk 1, 2 Jan 31 2003 /dev/ram2
-bash-2.05b# mount -t jffs2 /dev/ram2 /smc
-bash-2.05b# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / nfs rw,v2,rsize=4096,wsize=4096,hard,udp,nolock,addr=22.214.171.124
/proc /proc proc rw 0 0
/dev/ram2 /smc jffs2 rw 0 0
More information about the linux-mtd