LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to identify two scsi deveices (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-identify-two-scsi-deveices-870659/)

anil_cdac 03-24-2011 02:52 AM

how to identify two scsi deveices
 
hi all,
i have a small doubt, i hope you guys can carrify it..
Suppose during a script execution I am attaching one or two new disk having different vendor id to host machine, how do I know which disk corresponds to which file in /dev/ directory?
i just want to perform some operation on those device from some script, how will i know which file in /dev directory correspond to which disk(having same size but different vendor id).

hilyard 03-24-2011 03:08 AM

https://wiki.archlinux.org/index.php..._device_naming is a good place to start!


All times are GMT -5. The time now is 01:48 AM.