From owner-freebsd-jail@FreeBSD.ORG Wed Jun 16 05:11:22 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 AD24B1065672 for ; Wed, 16 Jun 2010 05:11:22 +0000 (UTC) (envelope-from mosconi@mosconi.mat.br) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6F13C8FC0C for ; Wed, 16 Jun 2010 05:11:22 +0000 (UTC) Received: by vws20 with SMTP id 20so7988889vws.13 for ; Tue, 15 Jun 2010 22:11:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.249.213 with SMTP id ml21mr3632003qcb.288.1276663406637; Tue, 15 Jun 2010 21:43:26 -0700 (PDT) Sender: mosconi@mosconi.mat.br Received: by 10.229.34.147 with HTTP; Tue, 15 Jun 2010 21:43:26 -0700 (PDT) Date: Wed, 16 Jun 2010 01:43:26 -0300 X-Google-Sender-Auth: sKa2fnZ68QSUcIv6wxhjbKYw0ZQ Message-ID: From: Rodrigo Mosconi To: freebsd-jail@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 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:11:22 -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