Re: mount --bind equivalent? mount_null broken or not?

From: Kris Kennaway <kris_at_obsecurity.org>
Date: Sun, 2 Oct 2005 02:20:12 -0400
On Sat, Oct 01, 2005 at 11:58:15PM -0400, Jim Keller wrote:
> 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?

Yes and yes.  In fact I don't know of any remaining nullfs bugs on
FreeBSD 5 and above (although I only stress it on 6 and above), so the
warning should just be removed.

Kris

Received on Sun Oct 02 2005 - 04:20:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:44 UTC