In article <e10gzo8-0003ko...@fanf.noc.demon.net>, Tony Finch <d...@dotat.at> wrote: > Luigi Rizzo <lu...@labinfo.iet.unipi.it> wrote: > > > >i just experienced the above today while trying diskless, and while > >ls only seems to return the entries for the topmost directory, files > >are accessible if you know the name. no idea if this is of any help. > > This is exactly the right pointer, thanks! The problem appears to be > the change between revs 1.108 and 1.109 of sys/kern/vfs_syscalls.c. A > couple of (very similar) blocks of code related to `mount -o union` > seem to have been mixed up with some code related to `mount -t union` > and therefore removed. It's a shame that the two things get confused > so much. I originally missed vfs_syscalls.c because a `find > /usr/src/sys | xargs grep MNT_UNION` on 3.1 didn't show it. Replacing > the errant code fixes the problem. Here's a patch against 1.112.2.1.
Great sleuthing, guys! John -- John Polstra j...@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Nobody ever went broke underestimating the taste of the American public." -- H. L. Mencken To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message