Date: Tue, 19 Jun 2007 21:37:16 +0200 From: Kurt Jaeger <lists@c0mplx.org> To: daichi@freebsd.org Cc: stable@freebsd.org Subject: unionfs6-p19-20070504 and devfs on a very recent 6.2-STABLE Message-ID: <20070619193716.GA2628@home.c0mplx.org>
next in thread | raw e-mail | index | archive | help
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) <below>:/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 !
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070619193716.GA2628>