listing devices

Dan Nelson dnelson at allantgroup.com
Wed Sep 22 08:06:36 PDT 2004


In the last episode (Sep 22), Nathan Kinkade said:
> On Tue, Sep 21, 2004 at 03:42:04PM +0100, arden wrote:
> > I use AIX at work if I want to view devices on my system i use
> > lsdev and lscfg
> > 
> > These commands seem not to be there in freebsd 
> > 
> > What do you use to list the devices on you system ?
> 
> Well, I'm not sure what lsdev and lscfg do in AIX, but the only way
> that I know to list devices in FreeBSD would be `ls /dev`, but this
> answer seems too simple and would probably only be meaningful if you
> are using devfs.  Of course, 'less /var/run/dmesg.boot' will show you
> kernel messages from bootup and this should display the devices found
> by various drivers.

Also see the "devinfo" command if you're running FreeBSD 5.x

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list