Subject: Re: VLAN subinterfaces, bridges and udev

From: [email-masked] (Marco d'Itri)
Date: Mon, 1 May 2006 21:43:19 +0200

On May 01, Ben Greear <[email-masked]> wrote:

> >Can I rely on the presence of the $DEVPATH/driver symlink (e.g.
> >/sys/class/net/eth0/driver) to check if a network interface is a "real"
> >device insteaf of a VLAN or a bridge?
> To distinguish I use a VLAN specific IOCTL (GET_VLAN_REALDEV_NAME_CMD).
> If that IOCTL has no error, then it is a VLAN.
This is not useful for udev, it needs something available in sysfs.

-- 
ciao,
Marco