[systemd-devel] [RFC] networkd/udev: match on 'ethernet' devices

Greg KH gregkh at linuxfoundation.org
Fri Jan 3 16:22:35 PST 2014


On Fri, Jan 03, 2014 at 08:54:17PM +0100, Tom Gundersen wrote:
> Hi,
> 
> I just pushed a change[0] which allows the match syntax
> "Type=ethernet" to match on network devices without a DEVTYPE.
> 
> We had a discussion on IRC whether we should call it Type=wired or
> Type=ethernet. I think the former may be more intuitive, but the
> latter seems to be more in line with what is done elsewhere (connman
> calls it ethernet, and udev prefixes the devices names with 'en').
> 
> Any thoughts?

Any reason why the kernel can't be setting this value in the first place
so you don't have to rely on it being "null"?

Seems like a kernel issue.

Not to imply that this patch is not right at all though, it looks good
to me.

thanks,

greg k-h


More information about the systemd-devel mailing list