Date: Fri, 26 Feb 1999 21:16:41 -0800 (PST) From: John Polstra <jdp@polstra.com> To: dot@dotat.at Cc: current@freebsd.org Subject: Re: mount -o union broken recently? Message-ID: <199902270516.VAA05738@vashon.polstra.com> In-Reply-To: <E10GZo8-0003Ko-00@fanf.noc.demon.net> References: <E10GNQx-0002lU-00@fanf.noc.demon.net>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <E10GZo8-0003Ko-00@fanf.noc.demon.net>, Tony Finch <dot@dotat.at> wrote: > Luigi Rizzo <luigi@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 jdp@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 majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902270516.VAA05738>