From owner-freebsd-current@FreeBSD.ORG Thu Jan 5 11:26:26 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D583A16A41F; Thu, 5 Jan 2006 11:26:26 +0000 (GMT) (envelope-from ozawa@ongs.co.jp) Received: from hepitas.ongs.net (hepitas.ongs.net [202.216.232.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6392943D58; Thu, 5 Jan 2006 11:26:25 +0000 (GMT) (envelope-from ozawa@ongs.co.jp) Received: from [IPv6???1] (localhost.ongs.net [127.0.0.1]) by hepitas.ongs.net (Postfix) with ESMTP id 6F8763F; Thu, 5 Jan 2006 13:51:30 +0900 (JST) Message-ID: <43BCAA9F.2000505@ongs.co.jp> Date: Thu, 05 Jan 2006 14:11:59 +0900 From: Masanori OZAWA Organization: ONGS Inc. User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051219) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Danny Braniss References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, daichi@freebsd.org, freebsd-current@freebsd.org Subject: Re: [unionfs][patch] improvements of the unionfs - Problem Report, kern/91010 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ozawa@ongs.co.jp List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jan 2006 11:26:27 -0000 Danny Braniss wrote: >>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 > Okey. I found the cause of this problem. I fixed it :) http://people.freebsd.org/~daichi/unionfs/unionfs-p2.diff I am getting a edit of HP around my improvements of unionfs bacause someone have pointed out that your explanation is not enough. -- ONGS Inc. Masanori OZAWA (ozawa@ongs.co.jp) WWW: http://www.ongs.co.jp/