how does harddrive gets its device label
In the case of my old Pentium 120 system, I have a IDE system which consist of 3 harddrives:
Primary Master,
Primary Slave,
and
Secondary Slave.
and on my linux box, it assigned to
/dev/hda
/dev/hdb
/dev/hdd
How does Linux assign these device labels? based upon its IDE location?
If, let say, I remove my Primary Slave harddrive,
would my secondary slave HD still being labeled
/dev/hdd
?
This is very important for me cuz I will need to know how to edit /etc/fstab and /etc/lilo.conf after I remove one of the HD.
Same question on SCSI system. Does it uses SCSI ID on the SCSI chain as label?
Thanks in advance
|