2012年8月27日 星期一

find command tips

find . -type d ! -perm -o=x -perm -mode --> ambiguous compare
-perm mode --> exactly compare

2012年8月17日 星期五

backup exec tips

-o84  --> find robotic library device id
-o85 --> find robotic library device name
-o103 --> run inventory
-o104 * -a"robotic library device name" --> lock library door
-o105 * -a"robotic library device name" --> unlock library door
-o69 --> get media set id
-o70 --> get media set name and id mapping
-o132 --> list medias which is put in the media set
-o130 --> move media

2012年8月9日 星期四

noise from analog port

boot option for analog port fix
noapic pci=noacpi,usepirqmask

2012年8月6日 星期一

GLIBCXX_3.4.9 cannot be found

1:manually download prerequisites
required package info can be found at contrib/download_prerequisites
2:compile prerequisites with static library (enable static and disable shared )
GMP, MPFR, MPC
3:compile gcc with shared library (please refer options to gcc -v command)
4:use LD_PRELOAD to load proper libstdc++ to start program

debug: strings libstdc++ |grep GLIBC