Is there a namei utility in FreeBSD?
    James E Keenan 
    jkeen at verizon.net
       
    Mon Mar  6 15:13:12 UTC 2017
    
    
  
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
    
    
More information about the freebsd-questions
mailing list