Command (m for help): p
Disk /dev/hda: 255 heads, 63 sectors, 9729 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 650 5116702+ 83 Linux
/dev/hda3 651 911 2096482+ 82 Linux swap
/dev/hda4 912 9729 70830585 5 Extended
/dev/hda5 912 7286 51207187 83 Linux
Command (m for help): n
First cylinder (7287-9729, default 7287):
Using default value 7287
Last cylinder or +size or +sizeM or +sizeK (7287-9729, default 9729): +3000m
Command (m for help): p
Disk /dev/hda: 255 heads, 63 sectors, 9729 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 650 5116702+ 83 Linux
/dev/hda3 651 911 2096482+ 82 Linux swap
/dev/hda4 912 9729 70830585 5 Extended
/dev/hda5 912 7286 51207187 83 Linux
/dev/hda6 7287 7669 3076416 83 Linux
Command (m for help):
[code:1]Command (m for help):
^^;;
크기 입력시...
그냥 숫자만 쓰면 실린더 크기이고 +300K나 +300M으로 쓰면 우리가 사용하는 단위의 크기로 인식합니다. ^^
void main(void)
{
char *brain;
brain = malloc(sizeof(stress));
free(brain);
}
뭐든지 답은 간단한데서 시작한다.
댓글 달기