userland utilites for specific version use the current kernel API

Subbsd subbsd at gmail.com
Fri Mar 11 05:42:55 UTC 2011


Hi.

i have a server with FreeBSD-current (9) kernel and core system that
runs a dozen JAIL-s - some of them is FreeBSD 8x environment , and
part is surrounded on FreeBSD 7x.
My question - despite on COMPAT_FREEBSD{4-7} in the kernel, utilities
do not use those structures in the nucleus, which belong to their
release. For example, the utility in
jail shows:

sockstat: struct xtcpcb size mismatch
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS

The COMPAT_FREEBSD is not transparent for utilites? is it possible to
have the newer kernel with the minimum of the system, but have JAIL
with earlier versions of FreeBSD environments, where it will work
sockstat (and perhaps some others)? Thanks


More information about the freebsd-virtualization mailing list