Subject: Re: Listing SCSI Devices
To: Gary Parker <>
From: Andy Ruhl <>
List: netbsd-users
Date: 08/26/2005 09:06:15
On 8/26/05, Gary Parker <> wrote:
> Afternoon all,
>         is there a command that will list all the devices connected to my=
> bus(ses) in the same way that they are at boot time?
> i.e.
> sd4 at scsibus1 target 8 lun 0: <IBM, DDRS-39130W, S97B> disk fixed
> sd4: 8715 MB, 8387 cyl, 10 head, 212 sec, 512 bytes/sect x 17850000 secto=
> sd4: sync (100.00ns offset 15), 16-bit (20.000MB/s) transfers, tagged
> queueing
> I need to know exactly what disks are in a remote machine that I can't
> reboot and whose dmesg is currently full of errors from the nic.

This is only for disks, but you might want to check this:

sysctl hw.disknames

Do you still have /var/run/dmesg.boot?