Linux-mounted samba

Source: Internet
Author: User
When mounting other linux (utf8 file system encoding, samba's unixcharset is also set to UTF-8), it is the same as mounting the shared ntfs partition above: mount // neighbor/mirror dir/media/mountpoint-tsamfs-ocodepagecp936 ,...

 

 

 

When mounting other linux (utf8 file system encoding, samba's unix charset is also set to UTF-8), it is the same as mounting the shared ntfs partition above:

Mount // neighbor/nvidir/media/mountpoint-t samfs-o codepage = cp936, iocharset = utf8

This is especially worth noting. even if both linux systems are UTF-8 encoded, it seems that cp936 must be specified to browse and create a file with a Chinese name!

In addition, pay special attention to the differences between // neighbor/Export Dir and // neighbor/Export Dir/. Note that there is a slash "/" at the end. sometimes samba will not recognize this slash when it is added, the following error is reported:

Tree connect failed: ERRDOS-ERRnosuchshare (You specified an invalid share name)

SMB connection failed www.2cto.com

 

 

 

Mount // 192.168.170.12/ha_hfs/tmp/-o username = administrator, password = sss

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.