Skip to content

Commit 63e6e9d

Browse files
alectric-trJonathan Corbet
authored andcommitted
docs: filesystems: sysfs: clarify symlink destinations in dev and bus/devices descriptions
Change sysfs bus/devices and dev directory descriptions to provide more verbose information about the specific symlink destination the devices point to. Signed-off-by: Alex Tran <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]> Message-ID: <[email protected]>
1 parent a1d4416 commit 63e6e9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/filesystems/sysfs.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ kernel. Each bus's directory contains two subdirectories::
312312
drivers/
313313

314314
devices/ contains symlinks for each device discovered in the system
315-
that point to the device's directory under root/.
315+
that point to the device's directory under /sys/devices.
316316

317317
drivers/ contains a directory for each device driver that is loaded
318318
for devices on that particular bus (this assumes that drivers do not
@@ -327,7 +327,7 @@ loaded system modules, for both builtin and loadable modules.
327327

328328
dev/ contains two directories: char/ and block/. Inside these two
329329
directories there are symlinks named <major>:<minor>. These symlinks
330-
point to the sysfs directory for the given device. /sys/dev provides a
330+
point to the directories under /sys/devices for each device. /sys/dev provides a
331331
quick way to lookup the sysfs interface for a device from the result of
332332
a stat(2) operation.
333333

0 commit comments

Comments
 (0)