Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Mar 2017 09:12:14 -0500
From:      James E Keenan <jkeen@verizon.net>
To:        freebsd-questions@freebsd.org
Subject:   Is there a namei utility in FreeBSD?
Message-ID:  <984464e3-8f4e-d15f-00a8-e341a81d7ab5@verizon.net>

next in thread | raw e-mail | index | archive | help
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:

#####
$ namei /usr/bin/bundledoc
f: /usr/bin/bundledoc
  d /
  d usr
  d bin
  l bundledoc -> ../share/texlive/texmf-dist/scripts/bundledoc/bundledoc
    d ..
    d share
    d texlive
    d texmf-dist
    d scripts
    d bundledoc
    - bundledoc
#####

Is there an equivalent utility in FreeBSD?  In 10.3 and 11.0, I could 
only find namei in man 9, which is C-level facility, not an executable 
utility.

Thank you very much.
Jim Keenan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?984464e3-8f4e-d15f-00a8-e341a81d7ab5>