RESEARCHUT -- Minds With Innovations
RESEARCHUT
Minds With Innovations

RESEARCHUT - minds with innovations

This site has been archived. The new interface is: HERE

Linux Virtualization Richness

Saturday 28 July 2007 at 11:57 pm

So Yesterday, I was finally confident enough to uninstall VMWare from my laptop.

Thanks to the richness of virtualization technologies which are present in Linux (2.6.22) now.

I've always liked to explore different operating systems (not distributions really) to see what interesting features they implement differently. BSDs being one, Solaris being the other. But sometimes it really was difficult for me to try them out.

Reason:

  • The current machine that I have apart from my laptop is a very old box with 64Mb of RAM and a 750 Mhz Intel Processor
  • This box is primarily used for building my cusotmized kernels to run on my laptop.
  • This box serves as a file server.
  • This box doesn't have a head.

I also own a Dell XPS M1210 laptop with a pretty good configuration.

  • Intel Core Duo 2500 2.0 Ghz Processor
  • 2 GB of RAM
  • 60 GB 7200 RPM SATA Hard Disk Drive
  • 120 GB 5400 RPM External USB Hard Disk Drive
But wasn't really maxing out the power of this machine. Thanks to virtualiazation technologies in Linux - Qemu, KVM, UML, It has been pretty good now enjoying the benefits of the machine without really messing the base OS on which I rely for all of my work. Read More

rm \- "-" ??

Sunday 01 July 2007 at 3:17 pm

Does anyone know when really did coreutils get patched for this behavior ?

rrs@learner:~$ rm -foo
rm: invalid option -- o
Try `rm ./-foo' to remove the file `-foo'.
Try `rm --help' for more information.
This feature really wasn't earlier and if you ever ended up with files starting with characters like "-", it was not a straight task to remove it.

Earlier (when I wasn't aware of this patch), the workaround was to write a small 1 liner and not use getopt at all. Something like:

rrs@learner:~$ cat rm.py
#!/usr/bin/env python

import os, sys

sys.stdout.write("Removing file %s.\n" % (sys.argv[1]) )
os.unlink(sys.argv[1])

I'm really happy to see this bug fixed.