Skip to contentSkip to conversation

documentation/filesystems/path-lookup: replace "These paths" with "Usually paths"

PATCH Askar Safin 2 participants 4 messages Mar 24, 2021 – Apr 26, 2021 Documentation

lore
Share & tools
lore
#0 lore raw

Reader may think "These paths" refer to empty paths, so changing to "Usually paths"

---

Documentation/filesystems/path-lookup.rst +1 -1
index c482e1619e77..c68d6f275935 100644
@@ -57,7 +57,7 @@ example, if you have an open file descriptor on an executable file you
 can execute it by calling `execveat() <execveat_>`_ passing
 the file descriptor, an empty path, and the ``AT_EMPTY_PATH`` flag.
 
-These paths can be divided into two sections: the final component and
+Usually paths can be divided into two sections: the final component and
 everything else.  The "everything else" is the easy bit.  In all cases
 it must identify a directory that already exists, otherwise an error
 such as ``ENOENT`` or ``ENOTDIR`` will be reported.
maintainer
#1 lore raw
Quoted 9 lines · Askar Safin

Reader may think "These paths" refer to empty paths, so changing to "Usually paths"

---

Documentation/filesystems/path-lookup.rst +0 -0
index c482e1619e77..c68d6f275935 100644

Documentation/filesystems/path-lookup.rst example, if you have an open file descriptor on an executable file you · line 63

Quoted 8 lines
Documentation/filesystems/path-lookup.rst +1 -1
@@ -57,7 +57,7 @@ example, if you have an open file descriptor on an executable file you
 can execute it by calling `execveat() <execveat_>`_ passing
 the file descriptor, an empty path, and the ``AT_EMPTY_PATH`` flag.
 
-These paths can be divided into two sections: the final component and
+Usually paths can be divided into two sections: the final component and
 everything else.  The "everything else" is the easy bit.  In all cases
 it must identify a directory that already exists, otherwise an error
 such as ``ENOENT`` or ``ENOTDIR`` will be reported.

"Usually" doesn't seem right here - it implies that there are times when that cannot be done. A better fix seems like just taking "These" out..?

Thanks,

jon

#2 lore raw
Quoted 2 lines

"Usually" doesn't seem right here - it implies that there are times when that cannot be done. A better fix seems like just taking "These" out..?

We cannot divide "/" into final component and everything else.

==
Askar Safin
https://github.com/safinaskar

#3 lore raw
Quoted 3 lines
Quoted 2 lines

"Usually" doesn't seem right here - it implies that there are times when that cannot be done. A better fix seems like just taking "These" out..?

We cannot divide "/" into final component and everything else.

So?

==
Askar Safin
https://github.com/safinaskar