<?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: Radmind: converting to case-insensitive transcripts</title>
	<atom:link href="http://managingosx.wordpress.com/2008/06/24/radmind-converting-to-case-insensitive-transcripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://managingosx.wordpress.com/2008/06/24/radmind-converting-to-case-insensitive-transcripts/</link>
	<description>Trials and Tribulations of an OS X Administrator</description>
	<lastBuildDate>Thu, 24 Dec 2009 15:11:20 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jeff Kelley</title>
		<link>http://managingosx.wordpress.com/2008/06/24/radmind-converting-to-case-insensitive-transcripts/#comment-9646</link>
		<dc:creator>Jeff Kelley</dc:creator>
		<pubDate>Wed, 25 Jun 2008 22:34:14 +0000</pubDate>
		<guid isPermaLink="false">http://managingosx.wordpress.com/?p=131#comment-9646</guid>
		<description>These days we still have it as a pre-apply script, but I&#039;m not sure how often we run into this issue (because the script would touch the file).  We&#039;re using case-insensitive, relative transcripts exclusively still.</description>
		<content:encoded><![CDATA[<p>These days we still have it as a pre-apply script, but I&#8217;m not sure how often we run into this issue (because the script would touch the file).  We&#8217;re using case-insensitive, relative transcripts exclusively still.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Mortensen</title>
		<link>http://managingosx.wordpress.com/2008/06/24/radmind-converting-to-case-insensitive-transcripts/#comment-9635</link>
		<dc:creator>Andrew Mortensen</dc:creator>
		<pubDate>Tue, 24 Jun 2008 23:07:17 +0000</pubDate>
		<guid isPermaLink="false">http://managingosx.wordpress.com/?p=131#comment-9635</guid>
		<description>I wrote that script when I was making the transition to case-insensitive transcripts in the Mac environment at Umich. I recall re-sorting the local copies of the transcripts before running the update. The trick was to do it without triggering ktcheck updates. Jeff, how are you using the script these days?</description>
		<content:encoded><![CDATA[<p>I wrote that script when I was making the transition to case-insensitive transcripts in the Mac environment at Umich. I recall re-sorting the local copies of the transcripts before running the update. The trick was to do it without triggering ktcheck updates. Jeff, how are you using the script these days?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GregN</title>
		<link>http://managingosx.wordpress.com/2008/06/24/radmind-converting-to-case-insensitive-transcripts/#comment-9634</link>
		<dc:creator>GregN</dc:creator>
		<pubDate>Tue, 24 Jun 2008 21:21:43 +0000</pubDate>
		<guid isPermaLink="false">http://managingosx.wordpress.com/?p=131#comment-9634</guid>
		<description>Neat.  This should allow you to store only one version of the transcripts/loadsets on the server, and then dynamically resort as needed locally.  Is that what you are doing?</description>
		<content:encoded><![CDATA[<p>Neat.  This should allow you to store only one version of the transcripts/loadsets on the server, and then dynamically resort as needed locally.  Is that what you are doing?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Kelley</title>
		<link>http://managingosx.wordpress.com/2008/06/24/radmind-converting-to-case-insensitive-transcripts/#comment-9633</link>
		<dc:creator>Jeff Kelley</dc:creator>
		<pubDate>Tue, 24 Jun 2008 21:15:29 +0000</pubDate>
		<guid isPermaLink="false">http://managingosx.wordpress.com/?p=131#comment-9633</guid>
		<description>That&#039;s a good way to handle it server-side.  We do something similar, but instead we touch the file on the hard drive before running lapply in a pre-apply script:

#! /bin/sh

# work around a hardlink ordering problem that occurs
# when a hardlink&#039;s source is case-insensitively
# alphabetically greater than the target. E.g:
#
# h ./usr/share/man/man3/atomic.3       ./usr/share/man/man3/OSAtomicAdd32.3
#
# If the source doesn&#039;t exist, and we run case-
# insensitively, the hardlink will fail because
# there&#039;s nothing to link to.
#
# The workaround checks for such lines, and touches
# the source file, preventing hardlink errors.

PATH=/bin:/usr/bin; export PATH

trans=&quot;$1&quot;

if [ -z &quot;${trans}&quot; ]; then
    logger -i -t $0 No arguments
    exit 0
fi

cat &quot;${trans}&quot; &#124; awk &#039;{ if ( $1 == &quot;h&quot; ) { \
                            if ( tolower($2) &lt; tolower($3) ) { \
                                if ( system( &quot;test -e &quot; $3 ) != 0 ) { \
                                    system( &quot;touch &quot; $3 );
                                } \
                            } \
                        } \
                      }&#039;

exit 0</description>
		<content:encoded><![CDATA[<p>That&#8217;s a good way to handle it server-side.  We do something similar, but instead we touch the file on the hard drive before running lapply in a pre-apply script:</p>
<p>#! /bin/sh</p>
<p># work around a hardlink ordering problem that occurs<br />
# when a hardlink&#8217;s source is case-insensitively<br />
# alphabetically greater than the target. E.g:<br />
#<br />
# h ./usr/share/man/man3/atomic.3       ./usr/share/man/man3/OSAtomicAdd32.3<br />
#<br />
# If the source doesn&#8217;t exist, and we run case-<br />
# insensitively, the hardlink will fail because<br />
# there&#8217;s nothing to link to.<br />
#<br />
# The workaround checks for such lines, and touches<br />
# the source file, preventing hardlink errors.</p>
<p>PATH=/bin:/usr/bin; export PATH</p>
<p>trans=&#8221;$1&#8243;</p>
<p>if [ -z "${trans}" ]; then<br />
    logger -i -t $0 No arguments<br />
    exit 0<br />
fi</p>
<p>cat &#8220;${trans}&#8221; | awk &#8216;{ if ( $1 == &#8220;h&#8221; ) { \<br />
                            if ( tolower($2) &lt; tolower($3) ) { \<br />
                                if ( system( &#8220;test -e &#8221; $3 ) != 0 ) { \<br />
                                    system( &#8220;touch &#8221; $3 );<br />
                                } \<br />
                            } \<br />
                        } \<br />
                      }&#8217;</p>
<p>exit 0</p>
]]></content:encoded>
	</item>
</channel>
</rss>
