[CentOS] can't copy file.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



 i mount a windows share like this:
mount -t smbfs -o
iocharset=gb2312,codepage=936,username=administrator //192.168.10.27/cvs /mnt/windows
and try to copy file from /mnt/windows to my local disk.
but if came to file with chinese name it always told me "cp: can't creat
normal file ,  invalid argument."
by the way i can see the file name (in chinese),
and here is my locale:
LANG=zh_CN
LC_CTYPE="zh_CN"
LC_NUMERIC="zh_CN"
LC_TIME="zh_CN"
LC_COLLATE="zh_CN"
LC_MONETARY="zh_CN"
LC_MESSAGES="zh_CN"
LC_PAPER="zh_CN"
LC_NAME="zh_CN"
LC_ADDRESS="zh_CN"
LC_TELEPHONE="zh_CN"
LC_MEASUREMENT="zh_CN"
LC_IDENTIFICATION="zh_CN"
LC_ALL=
 i try all possible charset utf-8,gbk,cp936,or gb2312.
i have focus on this tow days,if i still can't solve this i will crazy.
thanks fro any help! 


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux