Harddisk capacity
guys.. how to know the capacity of hard disk, like window: right click on drive C:\ - properties..
thx guys.. |
the command 'df' may help....this shows the partitions and there size and usage stats....
'df --help' for more options |
'df -h'
Doh...sorry for the dupe. :P You beat me to submit. |
df -h would provide you with the size of the mounted partitions. If you do a hdparm -I <device> (device could be /dev/hda or something similar) you will get a lot of info, but important in this case is the Configuration section, where you can find the physical capacity of the drive.
Code:
Configuration: |
Nice post hw-tph. Thanks!
|
All times are GMT -5. The time now is 01:57 AM. |