From owner-freebsd-current@FreeBSD.ORG Sun Oct 2 03:58:20 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B0AD16A420 for ; Sun, 2 Oct 2005 03:58:20 +0000 (GMT) (envelope-from freebsd@contexthosting.net) Received: from mail.contexthosting.net (inception.centerfuse.net [209.120.245.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB87143D48 for ; Sun, 2 Oct 2005 03:58:19 +0000 (GMT) (envelope-from freebsd@contexthosting.net) Received: (qmail 4137 invoked by uid 89); 2 Oct 2005 03:58:19 -0000 Received: by simscan 1.0.7 ppid: 4133, pid: 4135, t: 0.0422s scanners:none Received: from unknown (HELO ?192.168.1.100?) (jim@contexthosting.net@68.80.252.242) by 0 with (DHE-RSA-AES256-SHA encrypted) SMTP; 2 Oct 2005 03:58:18 -0000 Message-ID: <433F5AD7.9080705@contexthosting.net> Date: Sat, 01 Oct 2005 23:58:15 -0400 From: Jim Keller User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: mount --bind equivalent? mount_null broken or not? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Oct 2005 03:58:20 -0000 I've been using mount_null for quite some time to mount filesystems beneath chroot jails, and have had no problems. However, the man page for mount_null has had a warning (since 1995, apparently) that "IT DOESN'T WORK", and I know OpenBSD has removed nullfs support as of version 3.7 (per http://archives.neohapsis.com/archives/openbsd/2005-09/0198.html). The bug listed in that thread doesn't appear to apply to FreeBSD, as I was able to successfully null mount /dev and list its contents. So my questions are: 1. is nullfs actively supported on FreeBSD? If so, are there plans to continue supporting it? 2. If not, is there another way of mounting filesystems to alternate directories on the system, as linux's "mount --bind" does? Or will mount --bind be added to the FreeBSD mount command? Thanks -Jim Keller