getting cpu info w/o parsing /var/run/dmesg.boot
Hleb Valoshka
375gnu at gmail.com
Fri Oct 9 06:41:15 PDT 2015
On 10/9/15, John Marino <dragonflybsd at marino.st> wrote:
>> You are re-inventing the wheel:
>>
>> http://www.freshports.org/sysutils/rubygem-ohai/
>>
>> You're efforts would be better served to fix whatever prevents that port
>> from building (on top of providing patches for it).
>>
>> These types of ports are generally very low level, using C to check
>> kernel structures. They are extremely system specific. It's not even
>> the only ruby package that does this either.
>>
>
> By the way, sysutils/rubygem-ohai is already in dports. Who knows if it
> works or not.
>From my initial letter: «I'm porting ohai
(https://github.com/chef/ohai/pull/626/files#r41601905)».
Currently ohai does not support dfly fully so I'm adding missing functions.
More information about the Users
mailing list