|
||||||
| C and C++ C and C++ forum for discussing all forms of C except for C#. These languages are powerful low level languages used for creating Operating Systems, Device Drivers, compilers and much more. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
How to copy an NTFs partition?
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 ------------------------ |
|
||||
|
Re: How to copy an NTFs partition?
Wait, are you trying to copy files between partitions, or an entire partition? They are two very different tasks.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Programming is a branch of mathematics. My CodeCall Blog | My Personal Blog |
|
|||
|
Re: How to copy an NTFs partition?
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... |
|
|||
|
Re: How to copy an NTFs partition?
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 ------------------ |
|
||||
|
Re: How to copy an NTFs partition?
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.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Programming is a branch of mathematics. My CodeCall Blog | My Personal Blog |
|
||||
|
Re: How to copy an NTFs partition?
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.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Programming is a branch of mathematics. My CodeCall Blog | My Personal Blog |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Duplicate partition makes problems? | krishnampkkm | C and C++ | 2 | 06-14-2009 11:52 PM |
| Adding NTFS Support to your Linux Distribution | Affix | Linux Tutorials, Guides and Tips | 2 | 03-02-2009 10:53 PM |
| installing ubuntu with ntfs partitions | amrosama | Linux Installation & Configuration | 4 | 01-28-2009 05:04 PM |
| How can I recover data from lost/deleted partitions? NTFS, FAT32 & HFS+ | Panarchy | Computer Software/OS | 5 | 11-21-2008 01:16 AM |
| Copy hard disk or partition image to another system using a network and netcat (nc) | kernel | Linux News | 0 | 08-13-2007 05:46 AM |
All times are GMT -5. The time now is 10:59 AM.
Amrosama.cc
Arekbulski.cc
Debtboy.cc
Guest.cc
Jaan.cc
James.cc
Mathx.cc
Tsz.cc
Vswe.cc