Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Check harddisk size info

Status
Not open for further replies.

hangdee

MIS
Nov 18, 2002
3
0
0
HK
Hello,

I would like to use C under Linux to get the total size of
a partition, the free size remain in the partition just
like the "df" command in Linux.
What command or method can I use in C to get the above
information?
 
Hi glathaa,
I could not find the function quotactl() in MSDN.I am using vc6.0. can U tell the equivalent in VC.

 
I don't know the exact function/class in VC. But u can try it with CFile or related classes. I am also searching the answer. If i got anything, I will post it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top