namei

From Initq

Jump to: navigation, search

follow a pathname until a terminal point is found.

For each line output, namei outputs the following characters to identify the file types found:

          f: = the pathname we are currently trying to resolve
          d = directory
          l = symbolic link (both the link and it's contents are output
          s = socket
          b = block device
          c = character device
          - = regular file
          ? = an error of some kind
[root@initq dev]# namei dvd
f: dvd
 l dvd -> sr0
   b sr0
Personal tools