From owner-freebsd-stable@FreeBSD.ORG Tue Jun 19 19:37:17 2007 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DCADE16A400 for ; Tue, 19 Jun 2007 19:37:17 +0000 (UTC) (envelope-from lists@c0mplx.org) Received: from home.c0mplx.org (home.c0mplx.org [213.178.180.1]) by mx1.freebsd.org (Postfix) with ESMTP id 8235D13C448 for ; Tue, 19 Jun 2007 19:37:17 +0000 (UTC) (envelope-from lists@c0mplx.org) Received: from pi by home.c0mplx.org with local (Exim 4.66 (FreeBSD)) (envelope-from ) id 1I0jVs-0000hZ-Hu; Tue, 19 Jun 2007 21:37:16 +0200 Date: Tue, 19 Jun 2007 21:37:16 +0200 From: Kurt Jaeger To: daichi@freebsd.org Message-ID: <20070619193716.GA2628@home.c0mplx.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Cc: stable@freebsd.org Subject: unionfs6-p19-20070504 and devfs on a very recent 6.2-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jun 2007 19:37:17 -0000 Hello, I'm using unionfs on a recently (approx. 5 days ago) cvsup'ed 6.2-STABLE with the http://people.freebsd.org/~daichi/unionfs/unionfs6-p19-20070504.diff patch and have a problem with devfs mounted over unionfs. I made a testsetup in March where I used a 6.2-STABLE at that time without additional patches. On the testsystem it works fine. On the new system, devfs does not work, a devfs mounted below some unionfs mount point can be seen in df and mount, but no device nodes appear in ..../dev/. Let me explain in more detail: I mount a template of a jail using unionfs: /sbin/mount -t unionfs -o noatime,below /vserv/template/stage2 /vserv/somehost Then I mount the necessary devfs: mount_devfs devfs /vserv/somehost/dev In parallel, I mount a devfs somewhere else: mount_devfs devfs /mnt Both mounts show up: # mount /dev/ad4s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad4s1f on /vserv (ufs, local, soft-updates) /dev/ad4s1d on /usr (ufs, local, soft-updates) /dev/ad4s1e on /var (ufs, local, soft-updates) procfs on /proc (procfs, local) linprocfs on /usr/compat/linux/proc (linprocfs, local) :/vserv/template/stage2 on /vserv/somehost (unionfs, local, noatime) devfs on /vserv/ns2.vistec.net/dev (devfs, local) devfs on /mnt (devfs, local) But: no files in the devfs below the unionfs mount point, while on the other point, plenty of files appear: # ls -la /vserv/ns2.vistec.net/dev/ | wc -l 3 # ls -la /mnt/ | wc -l 100 Is this some bug with devfs and the recent unionfs patch ? -- pi@c0mplx.org +49 171 3101372 13 years to go !