From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 2 07:51:45 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F253D16A41F; Mon, 2 Jan 2006 07:51:44 +0000 (GMT) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7ABC143D55; Mon, 2 Jan 2006 07:51:44 +0000 (GMT) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1EtKTm-0002vl-Ku; Mon, 02 Jan 2006 09:51:42 +0200 X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.0.4 To: Dario Freni In-reply-to: Your message of Thu, 29 Dec 2005 17:07:34 +0100 . Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 02 Jan 2006 09:51:42 +0200 From: Danny Braniss Message-ID: Cc: freebsd-hackers@freebsd.org, freebsd-current@freebsd.org, daichi@freebsd.org Subject: Re: [unionfs][patch] improvements of the unionfs - Problem Report, kern/91010 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jan 2006 07:51:45 -0000 > Masanori OZAWA wrote: > [...] > > Nice work! This is just a "works for me". In only find some issues with > permissions that were already present in the previous implementation of > unionfs. Some of them are partially corrected in the "useful" copymode. > I mailed the details to the author. the following will hang the kernel: root is mounted nfs, /etc is unionfs'ed so: from /etc/rc.initdiskless: ... # Create a generic memory disk # mount_md() { /sbin/mdmfs -i 4096 -s $1 -M md $2 } kldload unionfs mount_md 4096 /.etc mount_unionfs /.etc /etc ... and now: cd /etc mv some-file somefile and now the system is stuck. this behaviour is also present in the unpatched unionfs, but would be nice if it can be fixed. danny ps: see http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/84107