Please don't do top-posting ! On 1/24/06, Sarith Lambu <sarith.lambu@xxxxxxxxx> wrote: > ok thanks I got many details from the thread...But the problem is that > how can i read the RAM content through a process, i mean the space > outside the process address space and how a non-portable pointer be > created. I am considering you are talking about user space applications/process ! AFAIK you can't access RAM content outside the process address space (user space processes). You can communicate/transfer data from one process/program to another through IPC mechanisms but can't access one process directly from other process. (CMIIW) > How can i bypass the buffer cache in writing to the disk. And > how a raw writing is possible in 2.6 kernel. > By specifying O_DIRECT flag (I think while opening the file), you actually tells kernel to do direct IO, hence by-passing buffer cache ..... -- Fawad Lateef -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/