Re: LSB1.1: /proc/cpuinfo
Joerg Schilling wrote:
> The way /proc works has been introduced by Plan 9 in the first half of the 80s.
> What Linux added as an abuse of the /proc filesytem in principle is a Plan 9
> idea too. It makes sense to have something similar, but please please _not_
> inside the /proc tree.
> Sun is planning to have /sys with similar backgound in a future version of
> Solaris so it wouls make sense to talk to the Solaris kernel kackers to have a
> common way to go for the new /sys tree.
FWIW, Rusty Russell is working on a replacement for /proc/sys in Linux;
I wonder if he's talked to the Solaris people about their /sys plans.
> If you like to look for other ideas on how to retrieve the needed information
> it makes sense to look at Solaris too. The reason is that Solaris uses "prtconf"
> which is close to the device tree from the IEEE standard Boot loader.
> prtconf -p is giving exactly the IEEE device tree
> prtconf -p -v gives more verbose information.
> If you don't use -p you will see the kernel view of the device tree.
> On MacOS X which also uses the IEEE Boot architecture the same beast
> will be shown via a 'ioreg -l'
That's interesting stuff, thanks.