From owner-freebsd-current@FreeBSD.ORG Mon Nov 24 03:00:10 2003 Return-Path: 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 08A6016A4CE; Mon, 24 Nov 2003 03:00:10 -0800 (PST) Received: from mailout05.sul.t-online.com (mailout05.sul.t-online.com [194.25.134.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id C387443FDF; Mon, 24 Nov 2003 03:00:04 -0800 (PST) (envelope-from Alexander@Leidinger.net) Received: from fwd06.aul.t-online.de by mailout05.sul.t-online.com with smtp id 1AOERn-0001ZL-03; Mon, 24 Nov 2003 12:00:03 +0100 Received: from Andro-Beta.Leidinger.net (Xjh1HoZdrexnLYHW2GPAP9McgKlLO2dxLUVGDOQXhdRnyCw1hngBsk@[217.83.20.217]) by fmrl06.sul.t-online.com with esmtp id 1AOERK-0LqYuu0; Mon, 24 Nov 2003 11:59:34 +0100 Received: from Magelan.Leidinger.net (Magellan [192.168.1.1]) hAOAxX9d074031; Mon, 24 Nov 2003 11:59:33 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magelan.Leidinger.net (netchild@localhost [127.0.0.1]) hAOAxWx8007399; Mon, 24 Nov 2003 11:59:32 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Mon, 24 Nov 2003 11:59:32 +0100 From: Alexander Leidinger To: Boris Popov Message-Id: <20031124115932.325cc8bd.Alexander@Leidinger.net> In-Reply-To: <20031124065353.GC42142@vertex.kz> References: <200311232357.hANNv1eF006528@gw.catspoiler.org> <200311240016.hAO0GAeF006560@gw.catspoiler.org> <20031124065353.GC42142@vertex.kz> X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Seen: false X-ID: Xjh1HoZdrexnLYHW2GPAP9McgKlLO2dxLUVGDOQXhdRnyCw1hngBsk@t-dialin.net cc: Don Lewis cc: current@freebsd.org Subject: Re: null_lookup() vnode locking wierdness X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Nov 2003 11:00:10 -0000 On Mon, 24 Nov 2003 12:53:53 +0600 Boris Popov wrote: > Yes, this seems to be correct and necessary addition. At first sight, > the later code shouldn't blow because of that. BTW, buildworld -jN on top of > the null mount together with another buildword -jN on the underlying file > system helps a lot to discover vnode locking problems. While you're looking at nullfs... I get a ENAMETOOLONG while trying to mount a FS with nullfs or unionfs. The funny thing: realpath reports a max of 79 characters for both pathnames. ---snip--- {71} [M87:~netchild/FreeBSD/SystemOnCD] (62) root@ttyp0 # realpath work/SystemOnCD-1/usr/ports/distfiles |wc -c 79 {0} [M87:~netchild/FreeBSD/SystemOnCD] (63) root@ttyp0 # realpath /space/distfiles |wc -c 17 {0} [M87:~netchild/FreeBSD/SystemOnCD] (64) root@ttyp0 # mount -t unionfs -o -b /space/distfiles work/SystemOnCD-1/usr/ports/distfiles unionfs: /space/distfiles: File name too long {71} [M87:~netchild/FreeBSD/SystemOnCD] (65) root@ttyp0 # mount -t unionfs -o -b /space/distfiles /mnt ---snip--- Any ideas what's wrong or where I need to look for a bug? Bye, Alexander. -- If Bill Gates had a dime for every time a Windows box crashed... ...Oh, wait a minute, he already does. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7