[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140328.170222.346040641241669437.davem@davemloft.net>
Date: Fri, 28 Mar 2014 17:02:22 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: dh.herrmann@...il.com
Cc: netdev@...r.kernel.org, teg@...m.no, johannes@...solutions.net,
linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v5 0/4] Provide netdev naming-policy via sysfs
From: David Herrmann <dh.herrmann@...il.com>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists