Re: /sys/firmware/dmi name change?

From: Alan Cox
Date: Tue Apr 05 2011 - 13:23:04 EST


On Tue, 05 Apr 2011 13:15:38 -0400
Prarit Bhargava <prarit@xxxxxxxxxx> wrote:

> commit 948af1f0bbc8526448e8cbe3f8d3bf211bdf5181 (and follow on commits)
> introduced a new firmware directory called /sys/firmware/dmi which
> provides broken out SMBIOS entries for userspace.
>
> In a previous discussion I've mentioned that it would be a good idea for
> us to move away from using 'dmi' towards using 'smbios' and centralizing
> the SMBIOS code that is scattered throughout the kernel. One of my
> changes was to export the SMBIOS information in a similar way that Mike
> did in drivers/firmware/dmi-sysfs.c.
>
> Since this API is new for 2.6.39, can we change the name of the
> directory to /sys/firmware/smbios? Otherwise in 2.6.40, when further
> changes are introduced to use SMBIOS in the kernel we will have to
> change something that has been stable for one release.
>
> Mike? Greg? Alan? What do you think? IIUC, the interface isn't yet
> "stable" so it should be changed now, correct?

Seems sensible to me

Alan
--
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/