I think you can see it somewhere in the dmesg like this:
...
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda

io, hdb

io
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc

io, hdd

io
hda: QUANTUM FIREBALL CR13.0A, ATA DISK drive <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
hdb: QUANTUM FIREBALL EX6.4A, ATA DISK drive <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
blk: queue c03b3360, I/O limit 4095Mb (mask 0xffffffff)
blk: queue c03b349c, I/O limit 4095Mb (mask 0xffffffff)
hdc: ASUS CD-S520/A4, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 25429824 sectors (13020 MB) w/418KiB Cache, CHS=1582/255/63, UDMA(33)
hdb: attached ide-disk driver.
hdb: host protected area => 1
hdb: 12594960 sectors (6449 MB) w/418KiB Cache, CHS=784/255/63, UDMA(33)
hdc: attached ide-cdrom driver.
hdc: ATAPI 52X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Partition check:
hda: hda1 hda2 hda3 hda4
hdb: hdb1
SCSI subsystem driver Revision: 1.00
...
Normally it detects all the harddrives that are on your system, even those that aren't mounted or don't have a linux partition.
rgds,
Lieven