Re: ethX <-> module matching from userspace?

From: Pozsar Balazs (pozsy@sch.bme.hu)
Date: Mon Oct 01 2001 - 11:09:46 EST


> > Is there a way that i could get which module registered which ethX
> > interface, from userspace? I would really like to see it.
>
> grep eth0 /var/log/messages | tail -1
> ?

Well, err... First i dont want to rely on syslog, secondly it is _not_
reliably for this case because every module sends different kind of output
to the syslog, and a bunch of them don't even tell the name of itself (for
example 3c59x).

-- 

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Oct 07 2001 - 21:00:15 EST