mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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 <anna@addaleax.net> Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org>
This commit is contained in:
1 parent
4dc89c6d30
commit
05a69e2e88
1 file changed
+1
-1
+1
-1
@@ -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`
|
||||
|
||||
|
||||
Reference in new issue
Block a user