Ask a question about mtdblock.
David Woodhouse
dwmw2 at infradead.org
Thu Jun 26 09:56:07 EDT 2003
On Thu, 2003-06-26 at 14:38, Yy Yy wrote:
> Could you please tell me why the data integrity will
> be destroyed if I write/read the device file?
The mtdblock 'translation layer' is not safe. This has been explained in
various mailing lists on many occasions. Ask Google.
> Do you mean I should add the read/write request to the
> request_queue of blkdevs[MAJOR_NR], and let it handle
> the request by itself.
> Could you please give me more ideas about it.
Not before you have demonstrated that you have read blkmtd.c as I
suggested.
--
dwmw2
More information about the linux-mtd
mailing list