Aaron Mulder wrote: > Would this work for swapping between a battery and DVD drive, > even though one of them is not a "hd" device? That would be really > handy. Have the script check /proc/acpi/ibm/bay before rescanning the IDE bus. The bay is shown to be "unoccupied" if it contains a battery.