No medium Found, 4.0, Notes

.hy 0 .ad l .br

Prev, Top | Slide, Next

# 4. Path Resolution

- no-one reads path_resolution(7); slide
- This was done as the most significant part of the proof-of-concept.
- source file name on screen

## 4.1 Start of the Resolution Process

- root vs currdir inode; slide
- prints absolute paths for background processes

## 4.2 Walk Along the Path

- EACCES directory; slide
- ENOENT directory; slide
- ENOENT directory fuzzy typos; slide
- ENOTDIR; slide
- ENOENT dangling symlink; slide
- ELOOP; slide
- EMLINK; slide

## 4.3 Find the Final Entry

- as above
- EEXIST; slide
- ENOTDIR; slide
- ELOOP O_NOFOLLOW; slide
- EINVAL wrong file type; slide
- EPERM sticky bit; slide

## 4.4 Limits

- ENAMETOOLONG pathname; slide
- ENAMETOOLONG filename; slide
- ENOENT empty; slide

## 4.5 Permissions

- this takes a lot of explaining; slide
- permission bits are not bit-wise ORed together
- file "--x" and directory "--x" are different