From owner-freebsd-bugs@FreeBSD.ORG Fri Feb 6 00:40:02 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4AA61065672 for ; Fri, 6 Feb 2009 00:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7FBEB8FC16 for ; Fri, 6 Feb 2009 00:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n160e2c4028123 for ; Fri, 6 Feb 2009 00:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n160e2WY028122; Fri, 6 Feb 2009 00:40:02 GMT (envelope-from gnats) Resent-Date: Fri, 6 Feb 2009 00:40:02 GMT Resent-Message-Id: <200902060040.n160e2WY028122@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Hannes Hauswedell Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53DD6106564A for ; Fri, 6 Feb 2009 00:37:36 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 41DB48FC13 for ; Fri, 6 Feb 2009 00:37:36 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n160baCu029735 for ; Fri, 6 Feb 2009 00:37:36 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n160baLZ029734; Fri, 6 Feb 2009 00:37:36 GMT (envelope-from nobody) Message-Id: <200902060037.n160baLZ029734@www.freebsd.org> Date: Fri, 6 Feb 2009 00:37:36 GMT From: Hannes Hauswedell To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/131441: unionfs and/or nullfs not combineable X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 00:40:03 -0000 >Number: 131441 >Category: kern >Synopsis: unionfs and/or nullfs not combineable >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 06 00:40:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Hannes Hauswedell >Release: 7.1-Release >Organization: >Environment: FreeBSD serv.lan.home 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: Contrary to what mount_unionfs(8) reads [1] you cannot mount a unionfs over a tree that contains mounted nullfses further down. (Well you can, but those nullfses will dissappear). This is the same with just using nullfses oder just unionfses. I don't know if this is intentional or if it can be changed, but I thought I'd report it. [1] "The union file system manipulates the namespace, rather than individual file systems. The union operation applies recursively down the directory tree now rooted at uniondir Thus any file systems which are mounted under uniondir will take part in the union operation." >How-To-Repeat: %cd /tmp/ %mkdir TEST1 %mkdir TEST1/SUB %mount_nullfs /bin/ /tmp/TEST1/SUB/ %mkdir /tmp/TEST2 %ls /tmp/TEST1/SUB/ [ chmod dd ed kenv ls pgrep rcp rmail sleep test cat cp df expr kill mkdir pkill realpath rmdir stty unlink chflags csh domainname getfacl link mv ps red setfacl sync uuidgen chio date echo hostname ln pax pwd rm sh tcsh %mount_unionfs /tmp/TEST2 /tmp/TEST1 %ls /tmp/TEST1/SUB/ % >Fix: >Release-Note: >Audit-Trail: >Unformatted: