On Tue, Jun 29, 2004 at 10:41:57PM +0530, Siddhartha Jain wrote: > >Oh, and how are you going to handle mmap? > > Haven't looked into that yet :) But should follow the same pattern. Monitor > for file open, open the corresponding file replica and place the file > descriptors in a table and have the write function look up the table for > replicating the writes. Um, files accessed through mmap do not have their read and write calls go through sys_read and sys_write... Good luck, greg k-h -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/