<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Linux XFS Does not Support dirent::d_type</title>
	<atom:link href="http://nerdfortress.com/2008/09/19/linux-xfs-does-not-support-direntd_type/feed/" rel="self" type="application/rss+xml" />
	<link>http://nerdfortress.com/2008/09/19/linux-xfs-does-not-support-direntd_type/</link>
	<description>Esoteric How-to&#039;s, Essays, and Rand();</description>
	<lastBuildDate>Mon, 21 May 2012 19:55:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: lightningrose</title>
		<link>http://nerdfortress.com/2008/09/19/linux-xfs-does-not-support-direntd_type/#comment-665</link>
		<dc:creator><![CDATA[lightningrose]]></dc:creator>
		<pubDate>Sun, 11 Sep 2011 14:06:26 +0000</pubDate>
		<guid isPermaLink="false">http://nerdfortress.wordpress.com/?p=156#comment-665</guid>
		<description><![CDATA[Thanks for this post, it was a great help to me.

I&#039;m the author of &lt;a href=&quot;http://som3000.sourceforge.net/&quot; rel=&quot;nofollow&quot;&gt;&lt;i&gt;Select-o-Magic 3000&lt;/i&gt;&lt;/a&gt; and I recently ran into this problem when I was building a home media server using XFS.

An interesting thing I found is that when reading an XFS file system over a Samba NFS, d_type is filled in correctly, at least under Ubuntu v10.04 LTS.]]></description>
		<content:encoded><![CDATA[<p>Thanks for this post, it was a great help to me.</p>
<p>I&#8217;m the author of <a href="http://som3000.sourceforge.net/" rel="nofollow"><i>Select-o-Magic 3000</i></a> and I recently ran into this problem when I was building a home media server using XFS.</p>
<p>An interesting thing I found is that when reading an XFS file system over a Samba NFS, d_type is filled in correctly, at least under Ubuntu v10.04 LTS.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://nerdfortress.com/2008/09/19/linux-xfs-does-not-support-direntd_type/#comment-508</link>
		<dc:creator><![CDATA[Anonymous]]></dc:creator>
		<pubDate>Sat, 19 Jun 2010 13:26:09 +0000</pubDate>
		<guid isPermaLink="false">http://nerdfortress.wordpress.com/?p=156#comment-508</guid>
		<description><![CDATA[readdir() isn&#039;t threadsafe when accessing the same directory stream from different threads.]]></description>
		<content:encoded><![CDATA[<p>readdir() isn&#8217;t threadsafe when accessing the same directory stream from different threads.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://nerdfortress.com/2008/09/19/linux-xfs-does-not-support-direntd_type/#comment-308</link>
		<dc:creator><![CDATA[Anonymous]]></dc:creator>
		<pubDate>Wed, 19 Aug 2009 01:17:42 +0000</pubDate>
		<guid isPermaLink="false">http://nerdfortress.wordpress.com/?p=156#comment-308</guid>
		<description><![CDATA[nfs, ext2, ext3 absolutely DO fill d_type correctly, at least under Linux, as well as cifs, ext4 and all other known file systems known to man]]></description>
		<content:encoded><![CDATA[<p>nfs, ext2, ext3 absolutely DO fill d_type correctly, at least under Linux, as well as cifs, ext4 and all other known file systems known to man</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anonymous</title>
		<link>http://nerdfortress.com/2008/09/19/linux-xfs-does-not-support-direntd_type/#comment-251</link>
		<dc:creator><![CDATA[anonymous]]></dc:creator>
		<pubDate>Sat, 06 Jun 2009 18:46:34 +0000</pubDate>
		<guid isPermaLink="false">http://nerdfortress.wordpress.com/?p=156#comment-251</guid>
		<description><![CDATA[Well, obviously everything looks like DT_UNKNOWN, not like regular files.

This is not an xfs issue either, most filesystems do not support the d_type field (nfs, ext2/ext3 per default etc.), so apps relying on that field to have somethign besides DT_UNKNOWN is simply a buggy app.

Thirdly, one only needs to stat() when d_type is indeed DT_UNKNOWN, and then there are still many ways to avoid it.

and lastly, readdir_r is usually a bug, too (readdir is already threadsafe, per dirfd).]]></description>
		<content:encoded><![CDATA[<p>Well, obviously everything looks like DT_UNKNOWN, not like regular files.</p>
<p>This is not an xfs issue either, most filesystems do not support the d_type field (nfs, ext2/ext3 per default etc.), so apps relying on that field to have somethign besides DT_UNKNOWN is simply a buggy app.</p>
<p>Thirdly, one only needs to stat() when d_type is indeed DT_UNKNOWN, and then there are still many ways to avoid it.</p>
<p>and lastly, readdir_r is usually a bug, too (readdir is already threadsafe, per dirfd).</p>
]]></content:encoded>
	</item>
</channel>
</rss>

