From owner-freebsd-questions@FreeBSD.ORG Thu Aug 28 08:00:15 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D17E516A4C0 for ; Thu, 28 Aug 2003 08:00:15 -0700 (PDT) Received: from poecilotheria.netmails.net (netmails.net [12.96.164.138]) by mx1.FreeBSD.org (Postfix) with SMTP id 30B9343FF2 for ; Thu, 28 Aug 2003 08:00:14 -0700 (PDT) (envelope-from subscr@poecilotheria.netmails.net) Received: (qmail 5744 invoked by uid 1012); 28 Aug 2003 15:00:12 -0000 Date: Thu, 28 Aug 2003 10:00:12 -0500 From: Hari Bhaskaran To: questions@FreeBSD.org Message-ID: <20030828150012.GA5549@poecilotheria.netmails.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: any howto-s on minimal jail installs with ro-nullfs-mounted /bin,/usr? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 15:00:16 -0000 Hi, I need to create a minimal jail install with as much data shared with the host as possible. So I believe I can read-only (null-fs) mount /bin and /usr into paths that fall in the jail's fs-space. I have tried /usr already (works fine - so long as I use /home for home directories instead of /usr/home). Since the jails are not meant for an ISP like setup, it would be acceptable for me to have non-writeable /bin, /usr/bin, /usr/local etc. I can use a nonstandard PREFIX for all custom packages I install inside the jail. Are there any howto's on this kind of setup? For example, most of the steps in "make installworld DESTDIR=?" looks redundant since I would be clearing the /usr and mounting from host later on. Any help is appreciated. BTW, I am on 4.8 Thanks -- Hari Bhaskaran