Disk size

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Disk size

Jump to solution
1,674 Views
MarcosPereira
Contributor II

How can I get the disk size?

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
973 Views
PetrM
Senior Contributor I

This is not exact, but very close - use following ioctl commands and multiply (result is in bytes):

 

IO_IOCTL_LAST_CLUSTER

IO_IOCTL_GET_CLUSTER_SIZE

 

PetrM

 

View solution in original post

0 Kudos
Reply
1 Reply
974 Views
PetrM
Senior Contributor I

This is not exact, but very close - use following ioctl commands and multiply (result is in bytes):

 

IO_IOCTL_LAST_CLUSTER

IO_IOCTL_GET_CLUSTER_SIZE

 

PetrM

 

0 Kudos
Reply