On Wednesday 10 September 2008 16:29:02 Manju BC wrote: > hi, > > I am porting yaffs2 to linuix user mode. In yaffs2 i got direct module > compiled. but i am getting errors in tne mtd emul.. the errors are written > below. please help me out..... the mtd code is not intended to be used with yaffs in user mode. It is intended to be used with kernel mode. For more recent kernels it is probably better to use the nand simulator code that comes with the kernel. Something along the lines of: http://osdir.com/ml/linux.file-systems.yaffs/2005-07/msg00146.html should work.