우선 "fdisk -l" 명령으로 장치 드라이버 이름을 알아본다.
sh-3.2# fdisk -l

Disk /dev/uba: 8292 MB, 8292139008 bytes
49 heads, 48 sectors/track, 6885 cylinders
Units = cylinders of 2352 * 512 = 1204224 bytes

  Device Boot      Start         End      Blocks  Id System
/dev/uba1               1        6886     8097780   b Win95 FAT32
sh-3.2#

여기서는 "/dev/uba1"으로 잡혔구나 ~
장치 드라이버 경로를 알았으니 "/mnt/usb" directory로 mount를 해보자.
만약에 "/mnt/usb" directory가 없을 경우 mkdir /mnt/usb로 directory 생성!!
sh-3.2# mount -t vfat /dev/uba1 /mnt/usb

mount되었는지 'ls"명령으로 확인해보자!
sh-3.2# ls /mnt/usb
??                                     Project_?? ??.zip
??                                     RFIDReader.zip
??                                     Release.zip
??.zip                                 SamsungPrint
????                                   ShapNWitServerProgram.exe
????.docx                              System Volume Information
CDMv2n_20100209.zip                    Utils
CDMv2n_20100211.zip                    Vcard
CDMv2n_20100216.zip                    Visual Studio ?? ?? ??
CDMv2n_20100222.zip                    c#
CDMv2n_20100224.zip                    desktop.ini
DrawCircle.zip                         jffs2root-inetok-20090216-0916.tar.gz
KDebug.cs                              linux-2.6.25.10_20090812.tar.gz
KeiRaysLibrary.zip                     make_root_image.tar.gz
Keipack_20100211.zip                   npki
Keipack_20100216.zip                   p07408_WIT SHAP ????? ???.zip
Keipack_20100222.zip                   r58562.exe
LineSelector                           rcwf.exe
NVCInstFull.exe                        recycler
Project.zip                            wmwifirouter1.3.cab
sh-3.2#

usb드라이버에 한글 부분이 깨져보인다. 이를 해결하기 위해서는 iocharset을 cp949로 맞추어준다.
sh-3.2# mount -t vfat -o iocharset=cp949 /dev/uba1 /mnt/usb
sh-3.2# ls /mnt/usb
CDMv2n_20100209.zip                    Utils
CDMv2n_20100211.zip                    Vcard
CDMv2n_20100216.zip                    Visual Studio 환경 설정 파일
CDMv2n_20100222.zip                    c#
CDMv2n_20100224.zip                    desktop.ini
DrawCircle.zip                         jffs2root-inetok-20090216-0916.tar.gz
KDebug.cs                              linux-2.6.25.10_20090812.tar.gz
KeiRaysLibrary.zip                     make_root_image.tar.gz
Keipack_20100211.zip                   npki
Keipack_20100216.zip                   p07408_WIT SHAP 무선데이터 수집기.zip
Keipack_20100222.zip                   r58562.exe
LineSelector                           rcwf.exe
NVCInstFull.exe                        recycler
Project.zip                            wmwifirouter1.3.cab
Project_회사 작업.zip                  기타
RFIDReader.zip                         동생사진
Release.zip                            문서
SamsungPrint                           작업
ShapNWitServerProgram.exe              작업.zip
System Volume Information              프로토콜.docx
sh-3.2#

usb메모리의 사용이 끝났으면 unmount를 한다.
sh-3.2# umount /dev/uba1
sh-3.2#





+ Recent posts