"리눅스 fdisk"의 두 판 사이의 차이

4번째 줄: 4번째 줄:
*리눅스용 파티션 테이블 조작도구
*리눅스용 파티션 테이블 조작도구


==예시 1==
==예시 1: fdisk -l==
<source lang='dos'>
<source lang='dos'>
[root@jmnote ~]# fdisk -l
[root@jmnote ~]# fdisk -l


Disk /dev/xvda: 31.4 GB, 31457280000 bytes
Disk /dev/vda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 3824 cylinders
255 heads, 63 sectors/track, 5221 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Units = cylinders of 16065 * 512 = 8225280 bytes


    Device Boot      Start        End      Blocks  Id  System
  Device Boot      Start        End      Blocks  Id  System
/dev/xvda1   *          1          13      104391  83  Linux
/dev/vda1   *          1          13      104391  83  Linux
/dev/xvda2             14        3824   30611857+  8e  Linux LVM
/dev/vda2             14        5221   41833260  8e  Linux LVM
</source>
</source>


==예시 2==
==예시 2: fdisk -ul==
<source lang='dos'>
<source lang='dos'>
[root@jmnote ~]# fdisk -l
[root@jmnote ~]# fdisk -ul


Disk /dev/vda: 42.9 GB, 42949672960 bytes
Disk /dev/vda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders
255 heads, 63 sectors/track, 5221 cylinders, total 83886080 sectors
Units = cylinders of 16065 * 512 = 8225280 bytes
Units = sectors of 1 * 512 = 512 bytes


   Device Boot      Start        End      Blocks  Id  System
   Device Boot      Start        End      Blocks  Id  System
/dev/vda1  *           1         13     104391  83  Linux
/dev/vda1  *          63      208844     104391  83  Linux
/dev/vda2             14        5221   41833260  8e  Linux LVM
/dev/vda2         208845    83875364   41833260  8e  Linux LVM
</source>
</source>



2014년 9월 26일 (금) 10:34 판

1 개요

/sbin/fdisk
fdisk
  • 리눅스용 파티션 테이블 조작도구

2 예시 1: fdisk -l

[root@jmnote ~]# fdisk -l

Disk /dev/vda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/vda1   *           1          13      104391   83  Linux
/dev/vda2              14        5221    41833260   8e  Linux LVM

3 예시 2: fdisk -ul

[root@jmnote ~]# fdisk -ul

Disk /dev/vda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders, total 83886080 sectors
Units = sectors of 1 * 512 = 512 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/vda1   *          63      208844      104391   83  Linux
/dev/vda2          208845    83875364    41833260   8e  Linux LVM

4 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}