block device driver + ext2

Alejandro Lucero (alejluther@yahoo.com)
Wed, 26 Sep 2001 02:43:12 -0700 (PDT)


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/