* JFFs2 usage questions
@ 2003-06-26 8:31 Vikram Mehta
2003-06-27 13:18 ` Paul van Gool
2003-06-27 14:49 ` yong_guo@scomcenter.com
0 siblings, 2 replies; 3+ messages in thread
From: Vikram Mehta @ 2003-06-26 8:31 UTC (permalink / raw)
To: mtd; +Cc: Uclinux-Dev@Uclinux.Org
Hi,
Now I can mount using jffs2.
and my directory does show the contents.
I have a few questions on the usage of JFFs2
1.) I cannot mkdir into the folder. I mount dev/mtdblock2 on /mnt.
If I do mkdir , the message comes
no space left on device
2.) if I reboot the system /mnt is left as empty.
3.) How can I provide that 1or 2 of my partions are readonly. That is they
are not erased
4.) I want that after booting, one partition is created as Jffs2. ( I can
add the commands in rc) and I can write on it like on do on /var which is
mounted on RAM
Regards
Vikram
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: JFFs2 usage questions
2003-06-26 8:31 JFFs2 usage questions Vikram Mehta
@ 2003-06-27 13:18 ` Paul van Gool
2003-06-27 14:49 ` yong_guo@scomcenter.com
1 sibling, 0 replies; 3+ messages in thread
From: Paul van Gool @ 2003-06-27 13:18 UTC (permalink / raw)
To: Vikram Mehta; +Cc: mtd, Uclinux-Dev@Uclinux.Org
On Thu, Jun 26, 2003 at 01:31:10AM -0700, Vikram Mehta wrote:
> 1.) I cannot mkdir into the folder. I mount dev/mtdblock2 on /mnt.
> If I do mkdir , the message comes
> no space left on device
I had a similar problem earlier this week and asked the list. In my case
the reason was that I didn't have enough erase blocks available for the GC
algorithm to be able to do its job. Make sure you have at least 5 erase
blocks available when you create the JFFS2 image.
> 2.) if I reboot the system /mnt is left as empty.
Did you verify the mount command gets executed during boot? Just add an
echo to the rc script and verify you see its output while rebooting.
Hope this helps.
Paul
> 3.) How can I provide that 1or 2 of my partions are readonly. That is they
> are not erased
>
> 4.) I want that after booting, one partition is created as Jffs2. ( I can
> add the commands in rc) and I can write on it like on do on /var which is
> mounted on RAM
>
> Regards
> Vikram
>
>
>
>
>
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
--
Paul van Gool Rincon Networks
paul.vangool@rinconnetworks.com (805)-705-1442
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: JFFs2 usage questions
2003-06-26 8:31 JFFs2 usage questions Vikram Mehta
2003-06-27 13:18 ` Paul van Gool
@ 2003-06-27 14:49 ` yong_guo@scomcenter.com
1 sibling, 0 replies; 3+ messages in thread
From: yong_guo@scomcenter.com @ 2003-06-27 14:49 UTC (permalink / raw)
To: Vikram Mehta; +Cc: linux-mtd
----- Original Message -----
From: "Vikram Mehta" <vm6580@hotmail.com>
To: "mtd" <linux-mtd@lists.infradead.org>
Cc: "Uclinux-Dev@Uclinux.Org" <uclinux-dev@uclinux.org>
Sent: Thursday, June 26, 2003 4:31 PM
Subject: JFFs2 usage questions
> Hi,
>
> Now I can mount using jffs2.
> and my directory does show the contents.
> I have a few questions on the usage of JFFs2
>
> 1.) I cannot mkdir into the folder. I mount dev/mtdblock2 on /mnt.
> If I do mkdir , the message comes
> no space left on device
>
> 2.) if I reboot the system /mnt is left as empty.
>
> 3.) How can I provide that 1or 2 of my partions are readonly. That is they
> are not erased
>
You can modify these partions worked as readonly in MTD partions driver, in the subfloder of the linux kernel source code
that's /drivers/mtd/maps/, edit the one of these file which you are using for MTD partion!
> 4.) I want that after booting, one partition is created as Jffs2. ( I can
> add the commands in rc) and I can write on it like on do on /var which is
> mounted on RAM
please view ftp://ftp.uk.linux.org/pub/people/dwmw2/mtd/cvs/mtd/mtd-jffs-HOWTO.txt for detail!
>
> Regards
> Vikram
>
>
>
>
>
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-06-27 14:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-26 8:31 JFFs2 usage questions Vikram Mehta
2003-06-27 13:18 ` Paul van Gool
2003-06-27 14:49 ` yong_guo@scomcenter.com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox