운영_설치/리눅스_유닉스
vfat filesystem의 mount 에러
써드아이
2010. 9. 19. 10:30
커널을 빌드 할때 dos/fat/nt filesystem 관련 옵션을 대충 줬더니
usb 메모리 를 마운트 할때 에러가 난다.
# mount -t vfat /dev/sdb1 /mnt/cdrom
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
친절하게도 dmesg를 보라고 설명을 해주네..
해서 dmesg를 보면
sd 3:0:0:0: [sdb] Assuming drive cache: write through
sd 3:0:0:0: [sdb] Attached SCSI removable disk
FAT: IO charset iso8859-1 not found
FAT: IO charset iso8859-1 not found
FAT: IO charset iso8859-1 not found
솔찍히 이걸 보기 전까지는 빌드를 잘 못 했다는 생각을 못 했다. -_-;;
관련 옵션이 있었던것 같은데 기억이 가물가물....
결국은 검색으로 해결...
mount -t vfat -o iocharset=cp949 /dev/sdb1 /mnt/cdrom