adding new drives to linux, how to know what their /dev/IDs are?

supernova87a

Senior member
Dec 6, 2000
261
0
0
I just ordered a pci ide controller card for some more hard drive space because my current 4 drives are full (scientific data storage). These current drives are called /dev/hda through /dev/hdd.

When I put in the pci card to expand, will the new drives just follow the sequence, ie. /dev/hde and /dev/hdf? Is there a useful tool that can probe all devices so that I don't have to guess about this?
 

BlackOmen

Senior member
Aug 23, 2001
526
0
0
Correct, your drives on the controller card will be hde through hdh. Hde being the primary master, hdf primary slave, and so forth. I'm not aware of any tools to probe the devices, however simply the output of the command 'dmesg' will help, with this output for my system buried in the lines it spews:

hda: Maxtor 54610H6, ATA DISK drive
hdc: CREATIVE CD5233E, ATAPI CD/DVD-ROM drive
hdd: Hewlett-Packard CD-Writer Plus 9100, ATAPI CD/DVD-ROM drive

Since the output for dmesg is quite long, using 'dmesg | grep hde' will pull any lines that contain hde, and so on and so forth. Hope it helps.