Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Mar 2017 11:43:25 -0500
From:      James E Keenan <>
Subject:   Re: Is there a namei utility in FreeBSD?
Message-ID:  <>
In-Reply-To: <>
References:  <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 03/06/2017 11:02 AM, Anton Yuzhaninov wrote:
> On 03/06/17 09:12, James E Keenan wrote:
>> In Linux, there is a userland utility 'namei' which enables a user to
>> "follow a pathname until a terminal point is found".  Invoking it on,
>> say, a symlink produces output like this:
> If you need to find a target of symlink (or symlink chain) you can use
> realpath(1).

Thanks for mentioning that.  However, while the example I gave was that 
of a symlink, and while both namei and realpath are good for displaying 
information about symlinks, my central question was whether there was an 
equivalent to namei in FreeBSD.  namei identifies the nature of each 
component in the resolved path; realpath does not.

Thank you very much.
Jim Keenan

Want to link to this message? Use this URL: <>