block device driver + ext2

From: Alejandro Lucero (alejluther@yahoo.com)
Date: Wed Sep 26 2001 - 04:43:12 EST


I'm working with a block device driver. If I try to
write into the device using the block_write function
and I read after with block_read the behaviour is
fine. I can flush the buffers and the driver works ok.
But if I make a ext2 file system on the device I have
problems. If I copy one file to the new file system
and after I compare the two file, the command doesnt
give any diferences, but when I flush the buffers and
the cache pages the cp command gives me a lot of
differences. If I only flush the cache pages it works
fine.

I dont know if I'm forgetting something respect the
way the ext2 file system works.
I hope help. Thanks.

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. http://im.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Sep 30 2001 - 21:00:42 EST