linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* about the block /dev/sda1, /dev/sdb1,etc
@ 2003-11-24  1:19 ayuan
  2003-11-24  1:41 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: ayuan @ 2003-11-24  1:19 UTC (permalink / raw)
  To: linux-hotplug

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="windows-1254", Size: 522 bytes --]

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!ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÓ†+\x12\x17ù޵隊X¬²š'²ŠÞu¼ÿH_çzÑ¢½æÚrCë¢Ú›ðèzĨº·\x1e\x16Šà{ùÞ¶\x17¥§*.m騭êk¡Ûœ¶+Þü:\x1e²+azZr¢ç+y«^mëmz·(uïÒ\x1c\x04DLq\v9QÿjwazZn²\x17¥¥ƒ”ü)brAÞ­ïá¶Úÿÿû(º·\x1e~Šà{ùÞ·÷h«^ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ.)îÇøh¶™nƒ÷^½éfj)bž	b²Øm¶ŸÿþX§»\x1fá¢Úeº\x0fì¢êÜyú+ïçzÒâžìÿ†‹i–èÿuëÞ—ùb²Ûÿ²‹«qçè®\aÿëa¶ÚlÿÿåŠËlþÊ.­ÇŸ¢¸\x1eþw­þX¬¶ÏåŠËbú?–)îÇøh¶™nƒ÷^

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: about the block /dev/sda1, /dev/sdb1,etc
  2003-11-24  1:19 about the block /dev/sda1, /dev/sdb1,etc ayuan
@ 2003-11-24  1:41 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2003-11-24  1:41 UTC (permalink / raw)
  To: linux-hotplug

On Mon, Nov 24, 2003 at 09:19:37AM +0800, ayuan wrote:
> 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 ? 

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
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-11-24  1:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-24  1:19 about the block /dev/sda1, /dev/sdb1,etc ayuan
2003-11-24  1:41 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).