public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* how could block device read OOB?
@ 2008-08-18  1:17 Bily
  2008-08-18  6:44 ` Ricard Wanderlof
  0 siblings, 1 reply; 2+ messages in thread
From: Bily @ 2008-08-18  1:17 UTC (permalink / raw)
  To: linux-mtd

hi,all,
    Maybe this question is easy,but I just  confused. I use my nand chip as a mtd block device.now I open mtdblock by using the "open()" function. and I want to read the OOB part by use the mtdblock device.now I want to know if I could read the OOB by operating an mtd block device or  only I use the  mtd char device could I solve this problem .Thanks!~ 




Bily
2008-08-18

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: how could block device read OOB?
  2008-08-18  1:17 how could block device read OOB? Bily
@ 2008-08-18  6:44 ` Ricard Wanderlof
  0 siblings, 0 replies; 2+ messages in thread
From: Ricard Wanderlof @ 2008-08-18  6:44 UTC (permalink / raw)
  To: Bily; +Cc: linux-mtd


On Mon, 18 Aug 2008, Bily wrote:

>    Maybe this question is easy,but I just confused. I use my nand chip 
> as a mtd block device.now I open mtdblock by using the "open()" 
> function. and I want to read the OOB part by use the mtdblock device.now 
> I want to know if I could read the OOB by operating an mtd block device 
> or only I use the mtd char device could I solve this problem .Thanks!~

Use the char device to read and write the OOB.

/Ricard
--
Ricard Wolf Wanderlöf                           ricardw(at)axis.com
Axis Communications AB, Lund, Sweden            www.axis.com
Phone +46 46 272 2016                           Fax +46 46 13 61 30

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-08-18  6:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-18  1:17 how could block device read OOB? Bily
2008-08-18  6:44 ` Ricard Wanderlof

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox