there is one operation called send_file() (i dont know the corresponding sys call for it ...)

i think its ment to do what u want to do ...
thankx
kanishk


From: Rohit Sharma <imreckless@gmail.com>
To: ext4 <linux-ext4@vger.kernel.org>; Kernelnewbies <kernelnewbies@nl.linux.org>
Sent: Tuesday, 6 January, 2009 4:06:59 PM
Subject: Copying Data Blocks

I want to read data blocks from one inode
and copy it to other inode.

I mean to copy data from data blocks associated with one inode
to the data blocks associated with other inode.

Is that possible in kernel space.?

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ



Get perfect Email ID for your Resume. Get before others grab.