lkml.org 
[lkml]   [2008]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: x86 BIOS interface for partitioning and system serial number on SGI UV
On Mon, Aug 04, 2008 at 08:54:50PM -0700, Greg KH wrote:
> On Mon, Aug 04, 2008 at 05:59:42PM -0700, H. Peter Anvin wrote:
> > Russ Anderson wrote:
> >>> This really seems more that it should belong in sysfs --
> >>> /sys/class/firmware presumably.
> >> /proc/sgi_uv already exists, similar to /proc/sgi_sn on Itanium systems.
> >> Would it be /sys/class/firmware? Reading Documentation/sysfs-rules.txt
> >> seems to indicate somewhere under /sys/devices, such as
> >> /sys/devices/system/,
> >> but I may be wrong.
> >
> > /sys/class/firmware is usually where firmware-related things end up, but
> > gregkh is the authority on sysfs organization.
>
> /sys/class/firmware has a few users, but perhaps you are thinking of
> /sys/firmware instead? That's probably the better place for something
> that is not using the firmware class itself.

Hi Greg,

If /sys/firmware is the right place, that is where I will put it.

Are the rules for /sys/firmware documented? Documentation/sysfs-rules.txt
does not mention /sys/firmware. It seems to indicate that /sys/class
should only contain symlinks:

There are currently three places for classification of devices:
/sys/block, /sys/class and /sys/bus. It is planned that these will
not contain any device directories themselves, but only flat lists of
symlinks pointing to the unified /sys/devices tree.

Thanks,
--
Russ Anderson, OS RAS/Partitioning Project Lead
SGI - Silicon Graphics Inc rja@sgi.com


\
 
 \ /
  Last update: 2008-08-05 18:35    [W:0.068 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site