Read only jffs2 filesystem
waite at skycomputers.com
Thu May 20 08:33:05 EDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
I think the default mount options are ro for mtd. To change this, , you can do
1) On the Linux cmdline root=/dev/mtdblockN rw
2) From the prompt/init scripts: mount -oremount,rw -t jffs2 /dev/mtdblockN /
Or you may have set the partitions to be read only oin the MTD map you
created. (Check the mask_flags)
Finally, depending on your FLASH chips, the chips may always powerup in the
Locked state, mine do, and you will need to unlock them before writing. I do
thins under u-boot but iy could also be done with the unlock mtd command.
Those are my suggestions.
On Thursday 20 May 2004 07:43 am, Munro Biswal wrote:
> Iam using a 6 MTD partition structure wherein i have two jffs2
> filesystems and when i boot up, it mounts the filesystem as
> readonly.Even if i reboot my board, i get the root filesystem to be
> mounted readonly.
> I cannot write anything to the filesystem
> What could be the problem??
> Thanks in advance!
> Linux MTD discussion mailing list
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the linux-mtd