James E Keenan
2017-03-06 14:12:14 UTC
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
"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