about the block /dev/sda1, /dev/sdb1,etc
Hi,
If I have two usb device ,How can I know which usb device correspond /dev/sda1 and which usb device correspond /dev/sdb1,etc.How can I get these info ?
Thanks very much!ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÓ†+ù޵隊X¬²š'²ŠŞu¼ÿH_çzÑ¢½æÚrCë¢Ú›ğèzĨº·Šà{ù޶¥§*.mé¨êk¡Ûœ¶+Şü:²+azZr¢ç+y«^mëmz·(uïÒDLq9QÿjwazZn²¥¥ƒ”ü)brAŞïá¶Úÿÿû(º·~Šà{ùŞ·÷h�«^ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ.)îÇøh¶™nƒ÷^½éfj)b� b²Øm¶ŸÿşX§»á¢Úeºì¢êÜyú+�ïçzÒâ�ìÿ†‹i–èÿu몗ùb²Ûÿ²‹«qçè®ÿ�ëa¶ÚlÿÿåŠËlşÊ.ÇŸ¢¸şwşX¬¶ÏåŠËb�ú?–)îÇøh¶™nƒ÷^
Quoted 4 lines · ayuan
Hi,
If I have two usb device ,How can I know which usb device correspond/dev/sda1and which usb device correspond/dev/sdb1,etc.Howcan I get these info ?
In 2.6, just look at the sysfs tree. For 2.4, it's a lot harder. Try looking through the scsi files in the /proc tree.
Good luck,
greg k-h
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel