How to get the total sectors of physical disk
-
The USB flash disk have no CHS parameters (the system use virtual parameters),I only need to get teh total sectors,how to do it? Thanks.
Anonymous wrote: The USB flash disk have no CHS parameters (the system use virtual parameters),I only need to get teh total sectors,how to do it? Thanks. Would calling GetDiskFreeSpace[^] and then computing
TotalNumberOfClusters * SectorsPerCluster
do the trick? -- jlr http://jlamas.blogspot.com/[^] -
Anonymous wrote: The USB flash disk have no CHS parameters (the system use virtual parameters),I only need to get teh total sectors,how to do it? Thanks. Would calling GetDiskFreeSpace[^] and then computing
TotalNumberOfClusters * SectorsPerCluster
do the trick? -- jlr http://jlamas.blogspot.com/[^] -
Anonymous wrote: The USB flash disk have no CHS parameters (the system use virtual parameters),I only need to get teh total sectors,how to do it? Thanks. Would calling GetDiskFreeSpace[^] and then computing
TotalNumberOfClusters * SectorsPerCluster
do the trick? -- jlr http://jlamas.blogspot.com/[^]