I've updated your script.

I now scans MBR, skips cdrom devices, and checks devices in a VM,
which does not use /dev/disk/by-id.
I'm not sure if still some edge cases are not covered.

I'm only putting it here for a day, since I guess it will get udpates soon
http://paste.debian.net/1184540/

-- 
viele Grüße Thomas

Antwort per Email an