Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Nov 2003 11:59:32 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Boris Popov <bp@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: null_lookup() vnode locking wierdness
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 24 Nov 2003 12:53:53 +0600
Boris Popov <bp@freebsd.org> 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} <FreeBSD 5.1-CURRENT> [M87:~netchild/FreeBSD/SystemOnCD]
(62) root@ttyp0 # realpath work/SystemOnCD-1/usr/ports/distfiles |wc -c
      79

{0} <FreeBSD 5.1-CURRENT> [M87:~netchild/FreeBSD/SystemOnCD]
(63) root@ttyp0 # realpath /space/distfiles |wc -c
      17

{0} <FreeBSD 5.1-CURRENT> [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} <FreeBSD 5.1-CURRENT> [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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031124115932.325cc8bd.Alexander>