Re: Fix of sysctl.c rev. 1.191 related bug and unbreak diskless(8)

2013-07-17 Thread Philip Guenther
On Wed, Jul 17, 2013 at 8:55 PM, Rafael Neves wrote: ... > If my hypothesis about code's design is correct the patch below might > be more suitable. It brings your mib[3] fix back to vfsinit() > (reverting rev1.191) and adds one more element on vfsvars and vfsname > to account for the offset. The

Re: Fix of sysctl.c rev. 1.191 related bug and unbreak diskless(8)

2013-07-17 Thread Rafael Neves
On 7/15/13, Philip Guenther wrote: > On Sun, Jul 14, 2013 at 12:54 AM, Rafael Neves > wrote: >> The patch below fixes a bug on sysctl(8) introduced by revision 1.191 >> of sysctl.c. After rev1.191, `sysctl vfs' mangles information about >> filesystems (mounted instances of ffs are attributed to n

Re: fix vmstat -M -N

2013-07-17 Thread Philip Guenther
On Wed, Jul 17, 2013 at 6:10 PM, Alexander Bluhm wrote: > $ vmstat -M bsd.0.core -N bsd.0 > vmstat: undefined symbols: _uvm_km_pages_free > > There is no uvm_km_pages_free in our kernel. The corresponding > lines in dopool_sysctl() have been removed from vmstat.c revision > 1.116. Remove uvm_km_

fix vmstat -M -N

2013-07-17 Thread Alexander Bluhm
Hi, $ vmstat -M bsd.0.core -N bsd.0 vmstat: undefined symbols: _uvm_km_pages_free There is no uvm_km_pages_free in our kernel. The corresponding lines in dopool_sysctl() have been removed from vmstat.c revision 1.116. Remove uvm_km_pages_free from dopool_kvm() to allow analysing a core dum