Re: [SLUG] finding a device attachment

From: SpamFree (SpamFree@tampabay.rr.com)
Date: Mon Jun 16 2003 - 18:02:33 EDT


On Monday June 16 2003 03:50 pm, you wrote:
> I'm having trouble finding where new hardware attaches to a software
> system/kernel. I use mental logic, but when does one know where a piece of
> hardware attaches itself? For example, when I attached my external CD
> writer, I knew it *probably* would attach, although via USB, to the first
> SCSI CD device (/dev/scd0). Now, I have a floppy tape drive (installed
> during power-off), and I have no idea where it went or if there are drivers
> loaded at all. What logic/knowledge do you use to find which DEVice has
> been occupied with your new hardware?
>
> /mario

Look at /var/log/mesg it is a log of the messages that are displayed by the
kernel duriing boot-up. It will list the various devices that the kernel sees
attached to your system. The following two lines are from dmesg:

Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306

This tells us that the floppy drive on this machine is at /dev/fd0



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:47:55 EDT