Skip to content

Commit 05a69e2

Browse files
TrottMylesBorins
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 <anna@addaleax.net> Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org>
1 parent 4dc89c6 commit 05a69e2

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
@@ -888,7 +888,7 @@ The numeric group identifier of the group that owns the file (POSIX).
888888

889889
* {number|bigint}
890890

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

893893
### `stats.size`
894894

0 commit comments

Comments
 (0)