본문
mount.cifs //NASIP/nas /mnt/backup -o user=username,pass=password,iocharset=euc-kr
mount.cifs //NASIP/nas /mnt/backup -o user=username,pass=password,codepage=cp949,iocharset=euc-kr,file_mode=0644,dir_mode=0755
iocharset <=== 한글 깨지지 않게 utf8 또는 euc-kr
======================================================
설명
[root@localhost ~]# mount.cifs
Usage: mount.cifs
Mount the remote target, specified as a UNC name, to a local directory.
Options:
user=
pass=
dom=
Less commonly used options:
credentials=,guest,perm,noperm,setuids,nosetuids,rw,ro,
sep=,iocharset=,suid,nosuid,exec,noexec,serverino,
directio,mapchars,nomapchars,nolock,servernetbiosname=
Options not needed for servers supporting CIFS Unix extensions
(e.g. unneeded for mounts to most Samba versions):
uid=,gid=,dir_mode=,file_mode=,sfu
Rarely used options:
port=,rsize=,wsize=,unc=,ip=,
dev,nodev,nouser_xattr,netbiosname=,hard,soft,intr,
nointr,ignorecase,noposixpaths,noacl
Options are described in more detail in the manual page
man 8 mount.cifs
To display the version number of the mount helper:
mount.cifs -V
관련링크
댓글목록
등록된 댓글이 없습니다.