That is :
How can I check the drive size which is not formatted…
Don’t consider the formatted drives…just unformatted drive.
That is : How can I check the drive size which is not formatted…
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Under Linux, if you want the size of the entire drive, read
/sys/block/sda/size.To find the size of a partition, read
/sys/block/sda/sda1/size.Replace
sda,sda1with names of your devices/partitions.Or, if you can open the raw device file, you can use the
BLKGETSIZEioctl.