Hi,
When i enter a disk on key to one of my usb's, how can i know which device the usb on?
i dont think lsusb give me the device name (/dev/sda1,sda2...)
Thanks,
Oded.
On Fri, 2005-06-03 at 13:10 +0200, Oded Maimon wrote:
Hi,
When i enter a disk on key to one of my usb's, how can i know which device the usb on?
i dont think lsusb give me the device name (/dev/sda1,sda2...)
Thanks,
Oded.
You can use either "dmesg" or "tail /var/log/messages" to see what device name was added.
Saurabh Bathe wrote:
Oded Maimon wrote:
Hi,
When i enter a disk on key to one of my usb's, how can i know which device the usb on?
i dont think lsusb give me the device name (/dev/sda1,sda2...)
Thanks,
Oded.
Check dmesg. It will tell the device name assigend to the usb stick/disk
-Saurabh
Thanks, but, this is the only way to know? by checking the syslog/dmesg? no command that can give this information?
Regards, Oded.
On Friday 03 June 2005 18:27, Oded Maimon wrote:
Saurabh Bathe wrote:
Oded Maimon wrote:
Hi,
When i enter a disk on key to one of my usb's, how can i know which device the usb on?
i dont think lsusb give me the device name (/dev/sda1,sda2...)
Thanks,
Oded.
Check dmesg. It will tell the device name assigend to the usb stick/disk
-Saurabh
Thanks, but, this is the only way to know? by checking the syslog/dmesg? no command that can give this information?
Regards, Oded.
build your own command such as: dmesg | tail
you could pipe dmesg output through grep or awk for more precise selection
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Paul Almquist wrote:
| On Friday 03 June 2005 18:27, Oded Maimon wrote: | |> Saurabh Bathe wrote: |> |>> Oded Maimon wrote: |>> |>>> Hi, |>>> |>>> When i enter a disk on key to one of my usb's, how can i know |>>> which device the usb on? |>>> |>>> |>>> i dont think lsusb give me the device name |>>> (/dev/sda1,sda2...) |>>> |>>> |>>> Thanks, |>>> |>>> Oded. |>> |>> Check dmesg. It will tell the device name assigend to the usb |>> stick/disk |>> |>> -Saurabh |> |> Thanks, but, this is the only way to know? by checking the |> syslog/dmesg? no command that can give this information? |> |> Regards, Oded. | | build your own command such as: dmesg | tail | | you could pipe dmesg output through grep or awk for more precise | selection | Dear Paul Almquist
in case you have a gui on that box, you might want to give "usbview" a try...
Greetings Oliver Leitner Technical Staff http://www.shells.at