Re: Static content in /proc/net/dev.
fredag den 14 januari 2011 klockan 11:51 skrev Bjoern A. Zeeb detta:
> On Wed, 29 Dec 2010, Bjoern A. Zeeb wrote:
>
> Hi,
>
>> On Wed, 29 Dec 2010, Timo Juhani Lindfors wrote:
>>
>>> The current implementation is indeed very simple:
>> ...
>>> I think you need to discuss with upstream whether they want to extend
>>> this compatibility wrapper or rather see us port the applications to
>>> the native interface. Would
>>>
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
>>>
>>> perhaps be the proper forum for this?
>>
>> I hacked this together very quickly; can you test it? I think it's
>> the closest you could possibly get. In case you could confirm if the
>> MC counter is receive only that would be good as well.
>>
>> http://people.freebsd.org/~bz/20101229-02-sys-linprocfs-donetdev.diff
>
> Was anyone able to test this?
I am about to engage in my first compilation of kFreeBSD now.
Interesting enough, I see now that your implementation takes the
same shortcuts as I have proposed for netdiag/netload [1].
Regards,
Mats E Andersson, DM
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=10;filename=adapt_netload_to_bsd.diff;att=1;bug=608300
Reply to: