Topic: device detection...
in the current releases of gparted i ask libparted for a list of available devices. This probing parses the content of /proc/partitions + tries some default paths (e.g. /dev/sd* /dev/hd*, etc). The latter gives sometimes problems in cases of broken cd/dvd drives. We then experience timeouts and/or hanging of the application. Also since parted-1.7.1, a ghost raiddevice is listed on some systems (/dev/md0).
All in all this caused me to think about dropping this probefunction and parse /proc/partitions ourselves. If we grep all lines with minor == 0, then we should have all available devices in the system. It's lightning fast and errorproof afaics.
Does any of you know of any reason why this could fail?