Re: null_lookup() vnode locking wierdness

From: Alexander Leidinger <Alexander_at_Leidinger.net>
Date: Mon, 24 Nov 2003 11:59:32 +0100
On Mon, 24 Nov 2003 12:53:53 +0600
Boris Popov <bp_at_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_at_ttyp0 # realpath work/SystemOnCD-1/usr/ports/distfiles |wc -c
      79

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

{0} <FreeBSD 5.1-CURRENT> [M87:~netchild/FreeBSD/SystemOnCD]
(64) root_at_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_at_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 _at_ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7
Received on Mon Nov 24 2003 - 02:00:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:30 UTC