Category: Computer Tips
RHEL5 – yum update works but pup and yum list-security does not
The RHEL5 machines under my administration experienced an interesting error. If running pup, whenever there are updates exist, it crashes with the error: SyntaxError: not well-formed (invalid token) The error message will be things like # yum list-security Loading “rhnplugin” plugin Loading “security” plugin Setting up repositories rhel-i386-server-cluster- 100% |=========================| 1.4 kB 00:00 rhel-i386-server-5 100% […]
Multiple Cygwin coexist
in one cygwin, do mount -m > c:/somewhere/mount-cygwin1 in another cygwin, do mount -m >c:/somewhere/mount-cygwin2 then edit their cygwin.bat, add lines umount -A sh C:/somewhere/mount-cygwin1 in the first cygwin.bat after @echo off line then edit the second cygwin.bat, add lines umount -A sh C:/somewhere/mount-cygwin2 in the cygwin.bat after @echo off line now two versions of […]
How do I defragment “C:\$Extend\$UsnJrnl:$J:$DATA”?
This huge file is used by Windows to track changes in other files and cannot be defragmented. You can delete it by entering the following on the Run commandline (Windows 2003/XP/Vista, not Windows 2000), it can take several minutes to finish: fsutil usn deletejournal /n c: