Detecting hard drive after boot
I am using Ubuntu 6.10 and wish to setup a 2nd SATA hard drive that can be powered on/off after booting the system. The drive will boot just fine as /dev/sdb if powered on at boot time. I am having trouble getting linux to recognize the drive if I power it on after boot. I thought the hdparm -R utility would work or even the contrib/idectl script in the hdparm doc directory. These seems to rely on the file /dev/sdb to exist which does not if I boot the computer with the drive turned off. It seems like there should be a simple way to do this but I have been spending hours with no success. I also plan to setup some IDE drives like this but for now am just trying to get this 2nd SATA drive to work.