MTD driver

Subrahmanyam subrahmanyam at navayuga.co.in
Mon Dec 13 09:01:18 EST 2004


Hi Thomas,

Can you suggest an approach to write into the flash either by using a file 
system or by using mtd drivers.
Yes, I am aware of writing data to a normal file but, but how is it possible 
to do in a jffs2 file system which is read only.

Please do suggest an approach.

Thanks,
Subrahmanyam.


----- Original Message ----- 
From: "Thomas Gleixner" <tglx at linutronix.de>
To: "Subrahmanyam" <subrahmanyam at navayuga.co.in>
Cc: <linux-mtd at lists.infradead.org>
Sent: Thursday, December 09, 2004 03:34 PM
Subject: Re: MTD driver


> On Thu, 2004-12-09 at 09:08 +0530, Subrahmanyam wrote:
>>  Yes, Thomas has suggested that i indeed use a filesystem, but how can I
>> best
>>  achieve it! I mean the procedure to store data in a file.
>
> # echo "KEYSTRING" >/path/to/your/file
>
> All programming languages provide functions to write to files.
>
> # man 2 write
>
> might be a good start. If this does not help you might try
>
> http://www.amazon.com/exec/obidos/ASIN/0764570684/dangookin/104-4933924-3663106?creative=327641&camp=14573&link_code=as1
>
> for further assistance.
>
> tglx
>
> 





More information about the linux-mtd mailing list