Skip to content

Commit d67cb7e

Browse files
Trottaddaleax
authored andcommitted
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: #34094 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Ujjwal Sharma <[email protected]>
1 parent 78ee480 commit d67cb7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/fs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ The numeric group identifier of the group that owns the file (POSIX).
820820

821821
* {number|bigint}
822822

823-
A numeric device identifier if the file is considered "special".
823+
A numeric device identifier if the file represents a device.
824824

825825
### `stats.size`
826826

0 commit comments

Comments
 (0)