From owner-freebsd-stable@FreeBSD.ORG Tue Mar 24 07:31:47 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A3D8106564A for ; Tue, 24 Mar 2009 07:31:47 +0000 (UTC) (envelope-from spork@bway.net) Received: from xena.bway.net (xena.bway.net [216.220.96.26]) by mx1.freebsd.org (Postfix) with ESMTP id CF9A38FC0A for ; Tue, 24 Mar 2009 07:31:46 +0000 (UTC) (envelope-from spork@bway.net) Received: (qmail 32027 invoked by uid 0); 24 Mar 2009 07:05:05 -0000 Received: from unknown (HELO ?10.3.2.41?) (spork@96.57.144.66) by smtp.bway.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 24 Mar 2009 07:05:05 -0000 Date: Tue, 24 Mar 2009 03:05:05 -0400 (EDT) From: Charles Sprickman To: stable@freebsd.org Message-ID: User-Agent: Alpine 2.00 (OSX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Cc: Subject: setting quotas from inside a jail X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2009 07:31:47 -0000 Hello all, The subject describes my goal. I'm aware of the usual caveats - if there's more than one jail, no UID overlap, this will really only work in one jail if all jails are on the same filesystem, etc. I found a very, very old post that has an... interesting... technique: http://groups.google.com/group/mpc.lists.freebsd.hackers/msg/2b92fc66ac72efa6?hl=en It actually works. "It" being I suppose the fstab trickery in the jail. I need to test this some more, but it does seem possible to edit quotas inside the jail, which is my basic goal. I don't want my provisioning box to have to hit the host just to alter quotas in one jail that needs them. Just looking for any warnings/caveats about the above and what might be different 6+ years later... Thanks, Charles ___ Charles Sprickman NetEng/SysAdmin Bway.net - New York's Best Internet - www.bway.net spork@bway.net - 212.655.9344