diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2008-06-05 17:52:37 +0000 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2008-06-05 17:52:37 +0000 |
commit | f8a07a215402da181c4c29c48e034e40f826cd1f (patch) | |
tree | 2cfa720b210306738043188a7584196cfd9556f4 /man7/path_resolution.7 | |
parent | 26868e5b2676c542ba69abc5d255d67ba2a977fe (diff) |
s/'/\\'/ to improve rendering in UTF-8.
Diffstat (limited to 'man7/path_resolution.7')
-rw-r--r-- | man7/path_resolution.7 | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/man7/path_resolution.7 b/man7/path_resolution.7 index 1b4d840c..31c75206 100644 --- a/man7/path_resolution.7 +++ b/man7/path_resolution.7 @@ -27,7 +27,7 @@ Unix/Linux path resolution \- find the file referred to by a filename Some Unix/Linux system calls have as parameter one or more filenames. A filename (or pathname) is resolved as follows. .SS "Step 1: Start of the resolution process" -If the pathname starts with the '/' character, the starting lookup directory +If the pathname starts with the \'/\' character, the starting lookup directory is the root directory of the calling process. (A process inherits its root directory from its parent. @@ -43,9 +43,9 @@ it \(em or one of its ancestors \(em was started by an invocation of the system call that had the .B CLONE_NEWNS flag set.) -This handles the '/' part of the pathname. +This handles the \'/\' part of the pathname. -If the pathname does not start with the '/' character, the +If the pathname does not start with the \'/\' character, the starting lookup directory of the resolution process is the current working directory of the process. (This is also inherited from the parent. @@ -53,12 +53,12 @@ It can be changed by use of the .BR chdir (2) system call.) -Pathnames starting with a '/' character are called absolute pathnames. -Pathnames not starting with a '/' are called relative pathnames. +Pathnames starting with a \'/\' character are called absolute pathnames. +Pathnames not starting with a \'/\' are called relative pathnames. .SS "Step 2: Walk along the path" Set the current lookup directory to the starting lookup directory. Now, for each non-final component of the pathname, where a component -is a substring delimited by '/' characters, this component is looked up +is a substring delimited by \'/\' characters, this component is looked up in the current lookup directory. If the process does not have search permission on @@ -135,11 +135,11 @@ One can walk out of a mounted file system: "path/.." refers to the parent directory of "path", outside of the file system hierarchy on "dev". .SS "Trailing slashes" -If a pathname ends in a '/', that forces resolution of the preceding +If a pathname ends in a \'/\', that forces resolution of the preceding component as in Step 2: it has to exist and resolve to a directory. -Otherwise a trailing '/' is ignored. -(Or, equivalently, a pathname with a trailing '/' is equivalent to -the pathname obtained by appending '.' to it.) +Otherwise a trailing \'/\' is ignored. +(Or, equivalently, a pathname with a trailing \'/\' is equivalent to +the pathname obtained by appending \'.\' to it.) .SS "Final symlink" If the last component of a pathname is a symbolic link, then it depends on the system call whether the file referred to will be |