Prev, Top Notes, Next

Find the Final Entry

The lookup of the final component of the pathname goes just like that of all other components, with two differences:
  1. The final component must exist, unless it must not.
    mkdir(pathname = "/home/pmiller/.ssh", mode = 0777) failed, File exists (17, EEXIST) because there is already a ".ssh" directory in the "/home/pmiller" directory
It all depends on the system call.