리눅스 하드용량 확인하기
fdisk /dev/sda
The number of cylinders for this disk is set to 4462.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/sda: 36.7 GB, 36703934464 bytes
255 heads, 63 sectors/track, 4462 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 16 128488+ 83 Linux
/dev/sda2 17 147 1052257+ 82 Linux swap
/dev/sda3 148 4462 34660237+ 83 Linux
Command (m for help): q
위에서 진한글씨가 명령어구요
주홍색 글씨가 용량이죠^^;
참고로 파티션 정보를 확인해 보세요~~