File Descriptor : a simple explanation

What is a File Descriptor? Really, how does it work?

When you don’t have a clear and global comprehension of the Linux system, it’s hard to answer this question. Worse, when you search about File Descriptor on the net, the absolutely only things you’ll find will be either pages about redirections (as if the idea of File Descriptor could be reduced to standard input, output and error) or complicated stuff in C (you can feel my frustration here).

Continue reading

Copy of VM : interfaces not appearing in Ubuntu

Coucou everyone!

In VMWare ESX (3.0 to 4.1i), you sometimes want to make a copy of an existing VM in production, for example to use the new one as a lab to developp new apps.

There are many ways to do that. The dirty one is simply to copy the VMDK+VMX files of the original VM to a new directory, then adding the VM to the ESX Inventory.

But you have to do it in the proper way for the Ethernet interface to be handled well.

Continue reading