mount --bind equivalent? mount_null broken or not?

Kris Kennaway kris at obsecurity.org
Sat Oct 1 23:20:20 PDT 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20051002/8b281a6c/attachment.bin


More information about the freebsd-current mailing list