Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 2004 10:06:34 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        arden <arden@nildram.co.uk>, Liste FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: listing  devices
Message-ID:  <20040922150634.GE66118@dan.emsphone.com>
In-Reply-To: <20040922145357.GC3633@gentoo-npk.bmp.ub>
References:  <1095777723.2333.29.camel@localhost> <20040922145357.GC3633@gentoo-npk.bmp.ub>

next in thread | previous in thread | raw e-mail | index | archive | help
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@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040922150634.GE66118>