Mac OS X Finder에서 Hidden File 보이게 하기

Terminal을 하나 열고 다음과 같이 입력합니다.

[bash gutter=”0″]
defaults write com.apple.Finder AppleShowAllFiles YES
[/bash]

Finder를 다시 시작해야 하는데, Option Key를 누른 상태에서 Dock에 있는 Finder를 click한채로 계속 누릅니다. 그러면, 작은 메뉴가 하나 뜨면서 Relaunch가 뜰텐데, 이를 클릭하면 됩니다.

다른 방법으로는 Mac OSX를 재시작하는 방법이 있습니다.

Hidden File을 숨기는 방법은 위의 YES를 NO로 바꾸어 주면 됩니다.

Mac OSX HFS is case-insensitive Filesystem by default.

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.