Messages in this thread | | | From | Michael Buesch <> | Subject | Re: [PATCH 2/3] firmware: Add CONFIG_BUILTIN_FIRMWARE option | Date | Sun, 25 May 2008 14:14:03 +0200 |
| |
On Sunday 25 May 2008 13:54:32 Marcel Holtmann wrote: > I am okay with userspace supporting namespacing with subdirectories > and see the point why it helps, but the important here is that > userspace must support this. It should not be done inside the kernel.
The decision is currently not made in the kernel. It's a udev decision to use / as directory separator. We exploit that udev feature to use a convenient dir structure. But that is unrelated to how any new database will handle it. The in-kernel database should treat / like any other char.
> So we have to change udev to look for /lib/firmware/<driver>/ > <filename> which perfectly fine, but the <driver> part needs to be > derived from struct device and not from the <filename> part.
What if I want 2 or 3 different firmware versions installed at once? I'll have to play dirty tricks with the filenames then and put several unrelated firmware versions into one directory. That's going to be a mess.
-- Greetings Michael.
| |