Re: [PATCH] Expose some h/w info from ILOM to userspace via sysfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Eric Saint Etienne <eric.saint.etienne@xxxxxxxxxx>
Date: Mon, 18 Sep 2017 15:27:45 +0100

> I doubt that a blob model like /dev/mdesc is better since it's not
> the approach that has been used in the kernel. You can convince
> yourself of this by looking at where lshw gets most if its data:
> from sysfs. That's because kernel developers before us (since 2.4
> when sysfs has been introduced, really) have decided to expose
> things on sysfs rather then via blobs. So sysfs is definitely the
> way to go.

If some small library converts the blob into hierachical tree of text
objects, _WHAT_ is the difference?

We don't export things multiple ways form the kernel.

We have an existing mechanism for mdesc export, please use it.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux