* Mouting JFFS2 parition
@ 2004-08-19 17:35 Raghav K
2004-08-19 18:08 ` Josh Boyer
0 siblings, 1 reply; 2+ messages in thread
From: Raghav K @ 2004-08-19 17:35 UTC (permalink / raw)
To: linux-mtd
Greetings all,
Hi, I'm a novice at using flash chips and MTD, so please bear with me if this is a trivial
question.
I am able to mount my completely erased parition, "without" copying an image on to it.
The memory dump of the partition after umounting the same, shows some data being
written to this parition. I have a couple of questions in this regard.
Is it a necessary to copy an JFFS2 image to an MTD parition before using the same?
Is this an acceptable way of using the parition?
Thanks and Regards,
-raghav-
--------------------------------------------
Purpose is everything, purpose is all.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Mouting JFFS2 parition
2004-08-19 17:35 Mouting JFFS2 parition Raghav K
@ 2004-08-19 18:08 ` Josh Boyer
0 siblings, 0 replies; 2+ messages in thread
From: Josh Boyer @ 2004-08-19 18:08 UTC (permalink / raw)
To: Raghav K; +Cc: linux-mtd
On Thu, 2004-08-19 at 12:35, Raghav K wrote:
> Greetings all,
>
> Hi, I'm a novice at using flash chips and MTD, so please bear with me if this is a trivial
> question.
>
> I am able to mount my completely erased parition, "without" copying an image on to it.
> The memory dump of the partition after umounting the same, shows some data being
> written to this parition. I have a couple of questions in this regard.
>
> Is it a necessary to copy an JFFS2 image to an MTD parition before using the same?
> Is this an acceptable way of using the parition?
As long as the partition is "empty" (i.e. freshly erased) on the _first_
mount, you do not need to copy a JFFS2 image to it. Subsequent mounts
on that partition will also work because JFFS2 will have written valid
data to it during it's mount lifetime (eraseblock headers, etc).
Seems to be perfectly valid to use the partition this way, if you are
going to just use it as storage. Cases like using JFFS2 as a root
filesystem would require writing an image to it before hand (obviously).
And that was a pretty good question for a novice ;).
josh
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-08-19 18:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-19 17:35 Mouting JFFS2 parition Raghav K
2004-08-19 18:08 ` Josh Boyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox