Checking for other kernel modules on load

Daniel O'Connor doconnor at
Wed Dec 28 12:37:33 UTC 2011

On 28/12/2011, at 22:07, Chris Rees wrote:
> Is there a simple way to check for existence of a driver?  I could
> even check for /dev/sndstat, though that doesn't seem elegant to me...

kldstat -v, but really /dev/sndstat seems simpler and just as effective.

Daniel O'Connor software and network engineer
for Genesis Software -
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

More information about the freebsd-hackers mailing list