After upgrading to Ubuntu 9.10 (Karmic Koala) some buttons no longer
work in Eclipse 3.5. Clicking has no effect but keyboard shortcuts
still work.
It looks like Eclipse is doing some nasty stuff advanced hacking in
SWT on GTK. This bug is fixed in 3.6M2 but you can work around the
issue in Eclipse 3.5 by launching Eclipse through the following small
shell script (assuming Eclipse is installed in /opt/eclipse-3.5):
SSD가 HDD에 비해 Read 속도는 빠른데, Write 속도는 더 느리다고 한다. (맞나?) 그리고 SSD의 특정 부분에 계속 Write를 하면 그 부분의 수명이 줄어버린다고 한다. 뭐... 당연하겠지만 일반 HDD도 마찬가지 수명이 있을텐데 왠만큼 사용할만큼 크지 않은 건가? (맞나?)
여하튼 SSD 에서 자주 쓰는 부분을 SSD가 아닌 RAM을 이용하도록 하고자 했다. 여러가지 설정을 모두 하기에는 귀찮고 noatime 이용하고, /tmp를 tmpfs으로 변경하고 그리고 Firefox의 cache directory를 이 /tmp로 변경해서 SSD를 이용하지 않도록 했다.
우선 기본 root filesystem에 noatime을 적용하여 파일을 읽을 때마다 access time을 기록하는 것을 하지 않도록 막았다.
방법은 아래와 같이 fstab을 읽어서 $ sudo vi /etc/fstab
다음과 같이 기존 것을 주석처리(#) 하고, 복사한 것에는 ,noatime을 추가했다 #UUID=07050b80-6289-4670-a3fa-7091a7ebb651 / ext4 errors=remount-ro 0 1 UUID=07050b80-6289-4670-a3fa-7091a7ebb651 / ext4 errors=remount-ro,noatime 0 1
그리고 다음과 같이 추가해서 /tmp에 tmpfs을 적용한다. # added to use /tmp as tmpfs tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
remount해도 되고, 아니면 그냥 재부팅하면 위 mount 설정이 적용되는데, 적용하기 전에 다음과 같이 기존 /tmp 의 내용을 지우도록 한다. $ sudo rm /tmp/* -rf