[systemd-devel] [PATCH] vlan: set sysfs device_type to 'vlan'
David Miller
davem at davemloft.net
Sun Nov 4 21:53:43 PST 2012
From: Doug Goldstein <cardoe at cardoe.com>
Date: Sun, 4 Nov 2012 23:45:56 -0600
> As Ben Greear pointed out this would allow shell scripts and other
> scripting languages to better detect vlans. Kay pointed out that this
> would allow better uevent filters in the future as well. So there are
> some merits to this patch. If you'd prefer I can resubmit with a
> better commit message entailing the reasons behind it.
For the thousandth time:
All of those scripts and other users of this new facility will
need to have backup code to detect vlan devices when this
sysfs thing is not present.
They are already to determine this information already, and
they alreayd have to be ugly to handle EVERY EXISTING KERNEL
ON THE PLANET.
So the effective value is zero.
More information about the systemd-devel
mailing list