Re: [PATCH v5 0/4] Provide netdev naming-policy via sysfs
From: David Miller
Date: Fri Mar 28 2014 - 17:02:34 EST
From: David Herrmann <dh.herrmann@xxxxxxxxx>
Date: Fri, 28 Mar 2014 20:34:47 +0100
> However, as mentioned in the discussions on v1, there're more
> use-cases than that. Imagine a 3rd party initrd renames a
> network-device early, if udev runs in the main system, we would rename
> the device again. If we could detect the rename via NET_NAME_RENAMED,
> we wouldn't break such setups. The only reason to rename devices in
> udev is to get reliable names. If someone else already renamed a
> device, we always expect them to provide better names than we do, so
> udev should only touch devices that have kernel-enumerated names.
> Of course, this can be fixed by requiring all the initrd developers to
> somehow tag devices as already renamed. But this would replicate
> information that the kernel already has.
You want to use the kernel to facilitate communication between two
userland components.
Imagine if we had to do that for everything.
Really, it's not a good reason, sorry.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/