From owner-freebsd-questions@freebsd.org Tue Mar 14 20:59:34 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 43712D0D832 for ; Tue, 14 Mar 2017 20:59:34 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from inet08.hamilton.harte-lyne.ca (inet08.hamilton.harte-lyne.ca [216.185.71.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "inet08.hamilton.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1AA231AD4 for ; Tue, 14 Mar 2017 20:59:33 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from localhost (localhost [127.0.0.1]) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTP id 71D90620D1; Tue, 14 Mar 2017 16:59:32 -0400 (EDT) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from inet08.hamilton.harte-lyne.ca ([127.0.0.1]) by localhost (inet08.hamilton.harte-lyne.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ldX_qwBuBIYY; Tue, 14 Mar 2017 16:59:30 -0400 (EDT) Received: from webmail.harte-lyne.ca (inet04.hamilton.harte-lyne.ca [216.185.71.24]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTPSA id CE0B26135D; Tue, 14 Mar 2017 16:59:29 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=harte-lyne.ca; s=dkim_hll; t=1489525170; bh=m9LWBqoyQ8LKUFq0vDR5trHhAklvKxi2RBwSNkzthLA=; h=In-Reply-To:References:Date:Subject:From:To:Cc:Reply-To; b=ffwyjaAwFCzGAgUrURVVrXeDT6PkJ+jJTzSSViXwQlnm160TXH+c0hALWjjmCueb/ 9SqEwjnv9P0gIcxajA8NpNQRsz6tkkXlfoWNnLm8koHBd71W0cW4+4fXJ9pjTUKf0q BceqdaMxklQAYl5Fbp0bBpZiIgvCMVTOAeJqYEzM8P41+R9fqlQ2WfS7LQG+iCJaPP XdRqwIk1zOz/4YjZbl6hcfFfpXhbF2QJJmEPe5oXd5yPn9WvNfPUawxoP6LZ2OVVVu mSBIfpFSsRoBJ67HTgE9gBhkwHffEqOCqbQXnghPgIQ3w4M25+LR3YdLkTffRaxqb6 6IyBMJJ2nGHmw== Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Tue, 14 Mar 2017 16:59:30 -0400 Message-ID: In-Reply-To: <8e5c5be426784129a426acf656748826@dweimer.net> References: <752326cf454b5045b8759e7a4a163a23.squirrel@webmail.harte-lyne.ca> <8e5c5be426784129a426acf656748826@dweimer.net> Date: Tue, 14 Mar 2017 16:59:30 -0400 Subject: Re: FreeBSD-11 - /etc/fstab From: "James B. Byrne" To: dweimer@dweimer.net Cc: freebsd-questions@freebsd.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.22-4.el6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Mar 2017 20:59:34 -0000 On Tue, March 14, 2017 16:01, Dean E. Weimer wrote: >> > > Look at man jail, search for mount.fstab, that's probably what you > need. > I use it for mounting nullfs file systems to my jails, haven't tried > with these special file systems though. > I read the man page which is why I first looked in the ezjail configuration file for this particular jail to see if the ability to mount these special file-systems was enabled. It appeared to be. I then updated the /etc/fstab.jailname file to have the desired entries: # cat /etc/fstab.hllidempiere /usr/jails/basejail /usr/jails/hllidempiere/basejail nullfs ro 0 0 fdesc /dev/fd fdescfs rw 0 0 proc /proc procfs rw 0 0 However, when I start the jail, log on to it, and perform a mount command this is all I see: # mount zroot/ROOT/default on / (zfs, local, noatime, nfsv4acls) Thus my question. -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3