From owner-freebsd-jail@FreeBSD.ORG Wed Jun 16 05:10:07 2010 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E6771065687 for ; Wed, 16 Jun 2010 05:10:07 +0000 (UTC) (envelope-from mosconi@mosconi.mat.br) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 264268FC19 for ; Wed, 16 Jun 2010 05:10:06 +0000 (UTC) Received: by qyk11 with SMTP id 11so1222530qyk.13 for ; Tue, 15 Jun 2010 22:10:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.124.212 with SMTP id v20mr3750363qar.278.1276663276613; Tue, 15 Jun 2010 21:41:16 -0700 (PDT) Received: by 10.229.34.147 with HTTP; Tue, 15 Jun 2010 21:41:16 -0700 (PDT) Date: Wed, 16 Jun 2010 01:41:16 -0300 Message-ID: From: Rodrigo Mosconi To: freebsd-jail@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: vfs jail-friendly X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jun 2010 05:10:07 -0000 Hi all! I would like to know which File-System are setted as "Jail-Friendly" (JF for short) on 8.1-PRERELEASE? On ZFS is marked as JF, but on file "src/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c" the jailed property was setted as "not supported by FreeBSD". I notice some wrappers to suport jails in ZFS ("libzfs.h") As example: Tales# zfs set jailed=on Tales/t1 property 'jailed' not supported on FreeBSD: permission denied My big question: Why UFS isn't a JF FS, if the UFS is the native FS (not ported from others projects, as ZFS, or tempfs)? All this doubts are because I'm trying to make a diskless-like rc script (just for fun/test my skills) to startup jails. I thought a single shared root, with the ZFS dataset as /conf - maybe I need a separated mount table to use somethink like md devices, or mount the jail specific etc directly, if the zfs jail command isolate the dataset from the others jails... An Utopia (I now that doesn't work, but it's a suggestion): # mount (...snip...) Tales/jails/base on /jails/base (zfs, local) Tales/t1 on /jails/base/etc (zfs, local(?)) Tales/t2 on /jails/base/etc (zfs, local(?)) # jexec 1 ls /etc test1 # jexec 2 ls /etc test2 Thanks Mosconi