Hii
I wanna copy an NTFs partition to another partition of same type and same size.And I tried with windows function
Copyfile() and it worked but slow speed is problem.then I did with readfile() and WriteFile() instead of Copyfile() again speed is a problem.
How can Get a better speed...??
I did the same operation in kernel mode and getting slow performance using zwCreatefile() ,zwReadfile() & zwWriteFile()...
How can I get a better speed .....
Any idea to help me...
I know fundamentally Kernel mode(ring 0) is slower than User mode in speed ,(even if ring 0 can access Hardware directly).....
Apart them these I tried also Asynchronous operation by setting OVERLAPPED flag in CreateFile.... getting small improvement....
But that one does not give reasonable speed......
Any idea to help...
I have used the Acronis Disk director suite.I exclaimed after finding it's speed......???
Any idea to help me...???
-----------------------
Thanking you
------------------------
Wait, are you trying to copy files between partitions, or an entire partition? They are two very different tasks.
Actually I wanna copy the entire partition...
But only the used data from the source partition....
So to take the used data.....( i try to copy filessss...)
And apart from that I tried to copy used clusters...
Thanks for the reply.....
Can you give me any links to the "white papers related to this section""
Any body know Any new algorithms......for the fast copy operation...
I searched but no way to get........
--------------------
Thanking you
------------------
OK, you keep saying contradictory things. You can do one of two things:
1) copy the ENTIRE partition. This is a pretty low-level operation and is NOT trivial.
2) copy selected files from one partition to another. This is a completely different activity, and really has nothing to do with whether the partition is NTFS, FAT32, etc.
First thanks for reply from your side...
Okkk.....I wanna do the first thing..... "copy the ENTIRE partition."
How to do that one....??
---------------
Thanking you
---------------
You will have to write a program that can be run while you are NOT in the OS on the host partition. I would recommend using one of the freely available tools rather than try to write your own.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks