<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>水草树 &#187; mount</title>
	<atom:link href="http://mifunny.info/tag/mount/feed" rel="self" type="application/rss+xml" />
	<link>http://mifunny.info</link>
	<description>走走停停看看，恍然大悟。</description>
	<lastBuildDate>Sat, 27 Aug 2011 18:25:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>解决Linux下挂载Samba共享目录乱码</title>
		<link>http://mifunny.info/mounting-samba-share-garbled-directory-in-linux-177.html</link>
		<comments>http://mifunny.info/mounting-samba-share-garbled-directory-in-linux-177.html#comments</comments>
		<pubDate>Sun, 07 Dec 2008 07:54:00 +0000</pubDate>
		<dc:creator>LD</dc:creator>
				<category><![CDATA[大佛Linux]]></category>
		<category><![CDATA[cifs]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[乱码]]></category>

		<guid isPermaLink="false">http://mifunny.info/mounting-samba-share-garbled-directory-in-linux-177.html</guid>
		<description><![CDATA[LD 几天前入手了一个 西数WD MY BOOK硬盘盒，而My Book默认使用 Samba 共享文件 ，在偶的Linux上一挂载中文就是乱码，但是 feixia的windows就没有这个问题。 原来Samba为了照顾Windows用户，默认编码是GBK，而GBK的 Code Page是CP936, 所以我们在挂载时应该指定 Samba服务器的编码。 user@~$ sudo mount -t cifs -o username=User,password=Password,iocharset=utf8,codepage=cp936 //192.168.1.1/PUBLIC /media/PUBLIC&#160;# 把User，Password，Samba服务器IP地址（192.168.1.1）# 以及 挂载目录改成自己的就行了。 需要注意的是一些老的Linux版本上使用 smbmount 挂载 Samba共享目录，而新系统中 mount指定 cifs文件系统就行了。]]></description>
			<content:encoded><![CDATA[<p style="text-indent: 2em;"><a rel="bookmark" title="水草树 博主" href="http://mifunny.info/">LD</a> 几天前入手了一个 西数WD MY BOOK硬盘盒，而My Book默认使用 Samba 共享文件 ，在偶的Linux上一挂载中文就是乱码，但是 feixia的windows就没有这个问题。 原来Samba为了照顾Windows用户，默认编码是GBK，而GBK的 Code Page是CP936, 所以我们在挂载时应该指定 Samba服务器的编码。</p>
<blockquote class="console"><p><span class="hint">user@~$ </span>sudo mount -t cifs -o username=User,password=Password,iocharset=utf8,codepage=cp936 //192.168.1.1/PUBLIC  /media/PUBLIC<br />&nbsp;<br /># 把User，Password，Samba服务器IP地址（192.168.1.1）<br />#  以及 挂载目录改成自己的就行了。</p></blockquote>
<p>需要注意的是一些老的Linux版本上使用 smbmount 挂载 Samba共享目录，而新系统中 mount指定 cifs文件系统就行了。</p>
]]></content:encoded>
			<wfw:commentRss>http://mifunny.info/mounting-samba-share-garbled-directory-in-linux-177.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

