The latest versions of Ubuntu do not appear to have the tool udevinfo anymore, which is vital to find information about devices connected to the computer.

There is, however, a new tool called udevadm, and with a little syntax trick you can get it to spit out your familiar udevinfo syntax:

udevadm info -a -p `udevadm info -q path -n /dev/sdb`

shows:

Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.

  looking at device '/devices/pci0000:00/0000:00:13.2/usb2/2-1/2-1:1.0/host5/target5:0:0/5:0:0:0/block/sdb':
    KERNEL=="sdb"
    SUBSYSTEM=="block"
    DRIVER==""
    ATTR{range}=="16"
    ATTR{ext_range}=="256"
    ATTR{removable}=="1"
(...)

  looking at parent device '/devices/pci0000:00':
    KERNELS=="pci0000:00"
    SUBSYSTEMS==""
    DRIVERS==""

If you use this more often and don't like the idea of entering a huge line of code for such a simple command, drop the following into your .bashrc file (all in one line):

udevinfo () { udevadm info -a -p `udevadm info -q path -n "$1"`; }

Now (after starting a new session or typing source ~/.bashrc), a simple udevinfo /dev/sdb will do the trick.

Also helpful: A long time ago, I wrote a blog post about udev rules, showing what rules I used at the time to have consistent device names for my USB drives, no matter in what order I connect or disconnect them. The devices I mention there are long gone, but I keep going back to that post every time I need to write a new udev rule.

Read more…

Heute morgen habe ich einen interessanten kleinen Kommentar zum Fachkräftemangel in der deutschen IT-Branche gelesen:

Ein Drittel der IT-Unternehmen kann seine freien Stellen nicht besetzen und ruft durch die Kehlen der Verbände nach der Politik. (...) Das Leid ist selbst verschuldet.

Nach der Dotcom-Blase ließe man "(d)as bisschen Code" "nur noch in Indien produzieren".

Dass die Unternehmen ihre Hausaufgaben bei der Ressource IT-Mensch weiterhin nicht machen, ist leicht an den Einstiegsgehältern abzulesen. Trotz der bejammerten Knappheit bekommt ein frischer IT-Hochschulabsolvent weniger Kohle als vor Jahren.

Das erwartete Einstiegs-Branchengehalt lag "2007 mit 42 600 Euro pro Jahr zwar 800 Euro über dem von 2006". Doch 2004 gab es "mit 43 900 Euro noch deutlich mehr".

Jan Kleinert, Chefredakteur des deutschen Linux-Magazins, im Editorial der Ausgabe 2/08.

Read more…

Douglas Karr at the Marketing Technology blog has an interesting post about the web servers the election candidates for the U.S. in 2008 run.

Hillary runs Windows 2003, for example, while Guiliani trusts his website to a CentOS+Apache install. An exception seem to be Barrack Obama and C. Todd, who are the only ones to run FreeBSD on their webservers.

The percentage difference between Linux/Apache (48%) and Windows/IIS (43%), seems to reflect the Internet not too badly (which is about 50% Apache vs. 35% IIS), but when you look at the two parties, there is a much more clear bias:

It’s fascinating to me that the Dems are predominantly Open Source… except for Hillary Clinton and the Republicans are predominantly Microsoft with the exception of Ron Paul, Jim Gilmore, Rudy Giuliani and Mitt Romney.

I wonder what makes Republican candidates go so strongly for closed source products, but I'll leave this up to your speculations ;) .

When I look at the hosting companies, I don't recognize many names -- only one came to sight: Republican candidate Jim Gilmore gets his Linux box from 1&1 Internet, Inc., a subsidiary of 1 und 1, one of Germany's largest internet companies who have big facilities in my university town Karlsruhe. /me waves from here.

Will this knowledge influence where the average geek's makes their cross on the ballot? Probably (or rather, hopefully) not. Yet it is interesting to see what technologies the candidates trust into. Now I'd only like to find out which browser they are using. But this will likely remain unresolved forever...

Read more…