I am pretty new Mac OS, but my background is from Linux (Unix), so I didn’t notice that the default filesystem in Mac is case-insensitive.

While getting a code of linux kernel through svn, I encounter this error:

A     xxxxxx/linux/netfilter_ipv4/ipt_REJECT.h
svn:  In directory  'xxxxxx/linux/netfilter_ipv4'
svn:  Can't copy  'xxxxxx/linux/netfilter_ipv4/.svn/tmp/text-base/ipt_tcpmss.h.svn-base'  to  'xxxxxx/linux/netfilter_ipv4/.svn/tmp/ipt_tcpmss.h.tmp.tmp':  No such file or directory

This problem is caused by the case-insensitive filesystem being used in MacOS. There are distinguished files, ipt_TCPMSS.h and ipt_tcpmss.h for netfilter_ipv4.

To solve the problem, there are two ways.

1. Reformat HFS entirely with case-sensitive attribute.

This is very painful, and would cause not running properly for a certain software like Photoshop. (What a mistake: case-sensitive HFS on my mac book) However, this will make faster than using dmg.

2. Create a disk image (dmg) for the specific project with case-sensitive.

Using dmg would be a little bit slower, but this makes easy. Using Disk Utility, you can create a disk volume with case-sensitive attribute.

 

February 2012
S M T W T F S
« Jan    
 1234
567891011
12131415161718
19202122232425
26272829  

Follow Me

© 2011 Bread & Cup Suffusion theme by Sayontan Sinha