From owner-freebsd-current@FreeBSD.ORG Sat Jun 26 01:16:11 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F20116A4CE; Sat, 26 Jun 2004 01:16:11 +0000 (GMT) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 004E143D48; Sat, 26 Jun 2004 01:16:11 +0000 (GMT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (sccrmhc12) with ESMTP id <200406260115440120089u13e>; Sat, 26 Jun 2004 01:15:54 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id SAA06436; Fri, 25 Jun 2004 18:15:42 -0700 (PDT) Date: Fri, 25 Jun 2004 18:15:41 -0700 (PDT) From: Julian Elischer To: FreeBSD current users Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: pjd@FreeBSD.org cc: bzeeb+freebsd@zabbadoz.net Subject: jail getfsstat patches. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jun 2004 01:16:11 -0000 There are patches around to make 'df' and 'mount' show pretty much the exact right thing from a jail. In both -current and 4.x I propose to commit these. http://garage.freebsd.pl/ "jailfsstat - With this kernel module process in jail can only see file systems mounted inside." for 4.x and http://sources.zabbadoz.net/freebsd/jail.html for 5.x with possible small changes.. e.g. the 4.x version would not be a module but would have a sysclt to turn it on (off by default) and the 5.x version may require osme small work too.. Does anyone violently object to these? The fact that df or mount shows so much not only confuses the hell out of users, it makes scripts fail in odd ways. (and bugs the hell out of me too). julian