From 05a69e2e88074516e0ee7dd5bfdbdb46f7888383 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sat, 27 Jun 2020 21:25:46 -0700 Subject: [PATCH] doc: clarify ambiguous rdev description Replace "is considered 'special'" with "represents a device". The latter is more clear and is derived from the stat() man page. The former is also derived from the man page, but is ambiguous because: * "considered" introduces doubt. Is it, or isn't it? * "special" is never defined. "represents a device" communicates more meaning. * "special" is in scare-quotes, introducing more doubt as to what exactly it means. Refs: https://man7.org/linux/man-pages/man2/fstat.2.html PR-URL: https://github.com/nodejs/node/pull/34094 Reviewed-By: Anna Henningsen Reviewed-By: Ujjwal Sharma --- doc/api/fs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/fs.md b/doc/api/fs.md index d20e1901ae371b..c6620be87ad1c2 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -888,7 +888,7 @@ The numeric group identifier of the group that owns the file (POSIX). * {number|bigint} -A numeric device identifier if the file is considered "special". +A numeric device identifier if the file represents a device. ### `stats.size`