<?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; Samba</title>
	<atom:link href="http://blog.yzlin.org/tag/samba/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.yzlin.org</link>
	<description>人生就該悠閒地過，忠實地記錄下人生的軌跡</description>
	<lastBuildDate>Thu, 21 Jan 2010 15:46:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=3.0-alpha</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>讓 pure-ftpd 支援 smbfs</title>
		<link>http://blog.yzlin.org/2008/07/14/51/</link>
		<comments>http://blog.yzlin.org/2008/07/14/51/#comments</comments>
		<pubDate>Mon, 14 Jul 2008 15:39:57 +0000</pubDate>
		<dc:creator>yzlin</dc:creator>
				<category><![CDATA[BSD]]></category>
		<category><![CDATA[電腦技術]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[PureFTPD]]></category>
		<category><![CDATA[Samba]]></category>

		<guid isPermaLink="false">http://blog.yzlin.org/?p=51</guid>
		<description><![CDATA[pure-ftpd 要能支援 smbfs 這些比較特殊的 File System，必須在 configure 的時候加入 &#8220;&#8211;without-sendfile&#8221; 這個參數，讓它不使用 sendfile 這個 System Call，在 FreeBSD ports 裡，只需要將預設的 Option &#8220;SENDFILE       Support for the sendfile syscall&#8221; 取消即可。下面是官方的說明：

--without-sendfile: on Linux, Solaris, HPUX and FreeBSD kernels, Pure-FTPd
tries to reduce the CPU/memory usage by using a special system call (sendfile)
. It works very well with most filesystems. However, this optimization [...]]]></description>
			<content:encoded><![CDATA[<p>pure-ftpd 要能支援 smbfs 這些比較特殊的 File System，必須在 configure 的時候加入 &#8220;&#8211;without-sendfile&#8221; 這個參數，讓它不使用 sendfile 這個 System Call，在 FreeBSD ports 裡，只需要將預設的 Option &#8220;SENDFILE       Support for the sendfile syscall&#8221; 取消即可。下面是官方的說明：</p>
<blockquote>
<pre>--without-sendfile: on Linux, Solaris, HPUX and FreeBSD kernels, Pure-FTPd
tries to reduce the CPU/memory usage by using a special system call (sendfile)
. It works very well with most filesystems. However, this optimization is not
implemented for all filesystems in current kernels. Users reported that
downloading files with Pure-FTPd failed with SMBFS (Samba) on FreeBSD and
TmpFS and NTFS on Linux (the error reported by the server is "broken pipe" or
"Error during write to data connection") . If you are planning to serve files
from these filesystems, you have to use the --without-sendfile switch to
enable a workaround. It was also reported that PA-Risc Linux systems need this
flag.</pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.yzlin.org/2008/07/14/51/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
