OS/Linux
리눅스에서 시스템에 연결된 HDD정보 보기
유앤아이의 뉴패러다임
2012. 10. 21. 10:26
debian:~# fdisk -l
Disk /dev/hda: 8292 MB, 8292114432 bytes
255 heads, 63 sectors/track, 1008
cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk
identifier: 0xdbeadbea
Device Boot Start End Blocks Id System
/dev/hda1
* 1 959 7703136 83 Linux
/dev/hda2
960 1008 393592+ 5 Extended
/dev/hda5 960
1008 393561 82 Linux swap / Solaris
Disk /dev/hdb: 20.4 GB, 20409532416 bytes
16 heads, 63 sectors/track,
39546 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Disk
identifier: 0x00000000
위의 정보는 /dev/hda에 8.4기가의 하드와 /dev.hdb에 20Gb의 HDD가 장착되었다는 것를 보여준다.