Date: Tue, 10 Jun 2008 03:53:41 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: freebsd-hackers@freebsd.org Subject: Re: Bug by design in getfsfile(3) / needed sanity check for mountpoints Message-ID: <87ej766rfu.fsf@kobe.laptop> In-Reply-To: <7d6fde3d0806090134u1c46c9f3gbeed3fb303876338@mail.gmail.com> (Garrett Cooper's message of "Mon, 9 Jun 2008 01:34:19 -0700") References: <7d6fde3d0806090134u1c46c9f3gbeed3fb303876338@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 9 Jun 2008 01:34:19 -0700, "Garrett Cooper" <yanefbsd@gmail.com> wrote: > Hi hackers, > I have a question, pending a bug found in getfsfile(3) [1]. > Is there any possibility where a mountpoint be any value other > than a directory, a symlink, or "none", i.e. a flat file? > Thanks, > -Garrett > > References: > http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/124409 (not fully in PR > database yet). It looks like could be 'fixed' by using realpath() on its argument. Then this should work fine: # fsck /usr/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87ej766rfu.fsf>