summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2017-12-06 21:48:11 -0800
committerRich Trott <rtrott@gmail.com>2017-12-08 11:30:11 -0800
commit25385ef26a768817da23746ad00ccf046f8790eb (patch)
tree9e4e15875031fdda66437b68bb45f41827e23b22 /doc
parentc3a997038c0e0c94801a6774bb2d374b7e981894 (diff)
downloadandroid-node-v8-25385ef26a768817da23746ad00ccf046f8790eb.tar.gz
android-node-v8-25385ef26a768817da23746ad00ccf046f8790eb.tar.bz2
android-node-v8-25385ef26a768817da23746ad00ccf046f8790eb.zip
doc: immprove inode text in fs.md
Rewrite and edit somewhat confusing paragraph about inodes and AIX in fs.md. PR-URL: https://github.com/nodejs/node/pull/17519 Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/fs.md9
1 files changed, 3 insertions, 6 deletions
diff --git a/doc/api/fs.md b/doc/api/fs.md
index 8bc585d3a7..fb8d246f03 100644
--- a/doc/api/fs.md
+++ b/doc/api/fs.md
@@ -2568,12 +2568,9 @@ a new inode. The watch will emit an event for the delete but will continue
watching the *original* inode. Events for the new inode will not be emitted.
This is expected behavior.
-On AIX, save and close of a file being watched causes two notifications -
-one for adding new content, and one for truncation. Moreover, save and
-close operations on some platforms cause inode changes that force watch
-operations to become invalid and ineffective. AIX retains inode for the
-lifetime of a file, that way though this is different from Linux / macOS,
-this improves the usability of file watching. This is expected behavior.
+AIX files retain the same inode for the lifetime of a file. Saving and closing a
+watched file on AIX will result in two notifications (one for adding new
+content, and one for truncation).
#### Filename Argument