Skip to content

Commit 865c452

Browse files
TrottMylesBorins
authored andcommitted
doc: immprove inode text in fs.md
Rewrite and edit somewhat confusing paragraph about inodes and AIX in fs.md. PR-URL: #17519 Reviewed-By: Jon Moss <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 18d6dab commit 865c452

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

doc/api/fs.md

+3-6
Original file line numberDiff line numberDiff line change
@@ -2568,12 +2568,9 @@ a new inode. The watch will emit an event for the delete but will continue
25682568
watching the *original* inode. Events for the new inode will not be emitted.
25692569
This is expected behavior.
25702570

2571-
On AIX, save and close of a file being watched causes two notifications -
2572-
one for adding new content, and one for truncation. Moreover, save and
2573-
close operations on some platforms cause inode changes that force watch
2574-
operations to become invalid and ineffective. AIX retains inode for the
2575-
lifetime of a file, that way though this is different from Linux / macOS,
2576-
this improves the usability of file watching. This is expected behavior.
2571+
AIX files retain the same inode for the lifetime of a file. Saving and closing a
2572+
watched file on AIX will result in two notifications (one for adding new
2573+
content, and one for truncation).
25772574

25782575
#### Filename Argument
25792576

0 commit comments

Comments
 (0)