find . -type d ! -perm -o=x
-perm -mode --> ambiguous compare
-perm mode --> exactly compare
2012年8月27日 星期一
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
-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日 星期四
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
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
2012年6月17日 星期日
2012年5月31日 星期四
name resolving issue under vpn connection
relate to dns search order.
http://support.microsoft.com/kb/311218
Const HKLM = &H80000002
sComputer = "."
Set oReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" _
& sComputer & "\root\default:StdRegProv")
sKeyPath = "SYSTEM\CurrentControlSet\Services\Tcpip\Linkage"
sValueName = "Bind"
oReg.GetMultiStringValue HKLM, sKeyPath, sValueName, arValues
arValuesNew = Array()
'patch registry
If UCase(arValues(0)) <> UCase("\device\ndiswanip") Then
ReDim Preserve arValuesNew(0)
arValuesNew(0) = "\Device\NdisWanIp"
For Each objarValues in arValues
If UCase(objarValues) <> UCase("\device\ndiswanip") Then
ReDim Preserve arValuesNew(UBound(arValuesNew)+1)
arValuesNew(UBound(arValuesNew)) = objarValues
End If
Next
End If
If UBound(arValuesNew) <> -1 Then
oReg.SetMultiStringValue HKLM, sKeyPath, sValueName, arValuesNew
End If
http://support.microsoft.com/kb/311218
Const HKLM = &H80000002
sComputer = "."
Set oReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" _
& sComputer & "\root\default:StdRegProv")
sKeyPath = "SYSTEM\CurrentControlSet\Services\Tcpip\Linkage"
sValueName = "Bind"
oReg.GetMultiStringValue HKLM, sKeyPath, sValueName, arValues
arValuesNew = Array()
'patch registry
If UCase(arValues(0)) <> UCase("\device\ndiswanip") Then
ReDim Preserve arValuesNew(0)
arValuesNew(0) = "\Device\NdisWanIp"
For Each objarValues in arValues
If UCase(objarValues) <> UCase("\device\ndiswanip") Then
ReDim Preserve arValuesNew(UBound(arValuesNew)+1)
arValuesNew(UBound(arValuesNew)) = objarValues
End If
Next
End If
If UBound(arValuesNew) <> -1 Then
oReg.SetMultiStringValue HKLM, sKeyPath, sValueName, arValuesNew
End If
訂閱:
文章 (Atom)