hiii
How to get the cluster usage details of a hard disk Volume?
Is there any API available...??
hiii
How to get the cluster usage details of a hard disk Volume?
Is there any API available...??
There is no way to do this in standard C++. This would have to be done specifically for the system you're using, requiring you to research the method that your system provides.
What operating system are you using? If it's Windows, check MSDN. If it's Linux, you could examine the source code for some disk-checking program, if you can find one. (fsck comes to mind, but that might be complicated.)
Either way, it will probably be complicated. What are you trying to do?
Last edited by dwks; 06-05-2009 at 10:27 AM.
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.
hii
I'm trying to copy the used clusters of a hard disk volume to another volume.And both partitions are of same size and NTFS.Now I copy everything with out checking the clusters are allocated or free.To improve the performance I wanna copy only the used clusters.And my application is "copy partition " platform Windows...
Anyway thanks for the reply from our side.
With regards
Krish
Last edited by Salem; 06-06-2009 at 04:12 AM. Reason: snipped email address