From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 11 05:42:54 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EBA40106566C; Fri, 11 Mar 2011 05:42:54 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9B0C28FC17; Fri, 11 Mar 2011 05:42:54 +0000 (UTC) Received: by ywf9 with SMTP id 9so1155523ywf.13 for ; Thu, 10 Mar 2011 21:42:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to:cc :content-type; bh=Hd/nnMBFbN7/kX0ap567rhX+t8LivzuFCF8OmY02oVY=; b=noS+Zh1ZQwXSTft/7aOwxH51jbay1rOzH9ta5vI1gvRXEku6ccFTUVrjJOnGHdVAfB YoTFKaNdCmWBqkbOf1mEsj4zcQbOiwTx5wnpuiB2ByLlZAAqzgobAOOAJnan1GtgfJW1 mrDbSd5yjJQDDyT5yGIO8MK1EDaU4i+u8pbeE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=l6E+v6kQ3IhDJaRap/ness+488hTn/j6yBvw57sUSjBPYnFEfOWtNfwjqPykkNrDGJ jPE7mj/JiFIPV35V7yYBHYx8Au210pJhpFBJZ3HKUgBUh7rDYAlR8wFqleyCC6LKyJyn QFDpCaz8WLxYPumic0+GrRtJfItQuXyaZeOi8= MIME-Version: 1.0 Received: by 10.101.24.20 with SMTP id b20mr715604anj.16.1299820395004; Thu, 10 Mar 2011 21:13:15 -0800 (PST) Received: by 10.101.10.31 with HTTP; Thu, 10 Mar 2011 21:13:14 -0800 (PST) Date: Fri, 11 Mar 2011 08:13:14 +0300 Message-ID: From: Subbsd To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-virtualization@freebsd.org Subject: userland utilites for specific version use the current kernel API X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2011 05:42:55 -0000 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