{급해요}mkfs 명령이 안먹네요..

mdk0110의 이미지

fdisk에서 파티션 정해주고
mkfs 명령어를 치는데요

mkfs -t ext3 /dev/sda4
mkfs.ext3: 그런 파일이나 디렉토리가 없음

이렇게 나오네요..
왜이런건가요...
어찌 해야하는지요...
답변 부탁드립니다.

익명 사용자의 이미지

송지석의 이미지

ext3로 포맷하려면 mkfs.ext2 -j 로 하는 게 아닌가 합니다만.. 맨페이지를 확인해보시길..

Quote:
DESCRIPTION
mke2fs is used to create a Linux second extended file system on a
device (usually a disk partition). device is the special file corre-
sponding to the device (e.g /dev/hdXX). blocks-count is the number of
blocks on the device. If omitted, mke2fs automagically figures the
file system size. If called as mkfs.ext3 a journal is created as if
the -j option was specified.

확인해보니 mkfs.ext2는 mke2fs의 알리아스군요.
그리고 mkfs.ext3는 mke2fs -j의 알리아스이고요.
그냥 mke2fs -j 로 해보셔요..

음 또 확인해보니 알리아스는 아니로군요.

Quote:
[root@song55 root]# ll /sbin/mkfs.ext3
-rwxr-xr-x 3 root root 31564 8월 11 2002 /sbin/mkfs.ext3
[root@song55 root]# ll /sbin/mkfs.ext2
-rwxr-xr-x 3 root root 31564 8월 11 2002 /sbin/mkfs.ext2
[root@song55 root]# ll /sbin/mke2fs
-rwxr-xr-x 3 root root 31564 8월 11 2002 /sbin/mke2fs
[root@song55 root]# diff /sbin/mkfs.ext2 /sbin/mkfs.ext3
[root@song55 root]# diff /sbin/mkfs.ext2 /sbin/mke2fs

그냥 같은 파일이네요. :)