Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation: Add leading slash to some paths

Change multiple sys/xyz to /sys/xyz

Signed-off-by: Mark O'Donovan <shiftee@posteo.net>
Link: https://lore.kernel.org/r/20210328152837.73347-1-shiftee@posteo.net
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Mark O'Donovan and committed by
Jonathan Corbet
abb9c078 58c53945

+18 -18
+1 -1
Documentation/admin-guide/mm/numaperf.rst
··· 151 151 following shows a single cache level and the attributes available for 152 152 software to query:: 153 153 154 - # tree sys/devices/system/node/node0/memory_side_cache/ 154 + # tree /sys/devices/system/node/node0/memory_side_cache/ 155 155 /sys/devices/system/node/node0/memory_side_cache/ 156 156 |-- index1 157 157 | |-- indexing
+2 -2
Documentation/fb/fbcon.rst
··· 207 207 Echo a value to the bind file that represents the framebuffer console 208 208 driver. So assuming vtcon1 represents fbcon, then:: 209 209 210 - echo 1 > sys/class/vtconsole/vtcon1/bind - attach framebuffer console to 210 + echo 1 > /sys/class/vtconsole/vtcon1/bind - attach framebuffer console to 211 211 console layer 212 - echo 0 > sys/class/vtconsole/vtcon1/bind - detach framebuffer console from 212 + echo 0 > /sys/class/vtconsole/vtcon1/bind - detach framebuffer console from 213 213 console layer 214 214 215 215 If fbcon is detached from the console layer, your boot console driver (which is
+1 -1
Documentation/hid/intel-ish-hid.rst
··· 345 345 To debug ISH, event tracing mechanism is used. To enable debug logs:: 346 346 347 347 echo 1 > /sys/kernel/debug/tracing/events/intel_ish/enable 348 - cat sys/kernel/debug/tracing/trace 348 + cat /sys/kernel/debug/tracing/trace 349 349 350 350 3.8 ISH IIO sysfs Example on Lenovo thinkpad Yoga 260 351 351 -----------------------------------------------------
+14 -14
Documentation/leds/leds-lm3556.rst
··· 23 23 CONTROL REGISTER(0x09).Flash mode is activated by the ENABLE REGISTER(0x0A), 24 24 or by pulling the STROBE pin HIGH. 25 25 26 - LM3556 Flash can be controlled through sys/class/leds/flash/brightness file 26 + LM3556 Flash can be controlled through /sys/class/leds/flash/brightness file 27 27 28 28 * if STROBE pin is enabled, below example control brightness only, and 29 29 ON / OFF will be controlled by STROBE pin. ··· 32 32 33 33 OFF:: 34 34 35 - #echo 0 > sys/class/leds/flash/brightness 35 + #echo 0 > /sys/class/leds/flash/brightness 36 36 37 37 93.75 mA:: 38 38 39 - #echo 1 > sys/class/leds/flash/brightness 39 + #echo 1 > /sys/class/leds/flash/brightness 40 40 41 41 ... 42 42 43 43 1500 mA:: 44 44 45 - #echo 16 > sys/class/leds/flash/brightness 45 + #echo 16 > /sys/class/leds/flash/brightness 46 46 47 47 Torch Mode 48 48 ^^^^^^^^^^ ··· 51 51 REGISTER(0x09).Torch Mode is activated by the ENABLE REGISTER(0x0A) or by the 52 52 hardware TORCH input. 53 53 54 - LM3556 torch can be controlled through sys/class/leds/torch/brightness file. 54 + LM3556 torch can be controlled through /sys/class/leds/torch/brightness file. 55 55 * if TORCH pin is enabled, below example control brightness only, 56 56 and ON / OFF will be controlled by TORCH pin. 57 57 ··· 59 59 60 60 OFF:: 61 61 62 - #echo 0 > sys/class/leds/torch/brightness 62 + #echo 0 > /sys/class/leds/torch/brightness 63 63 64 64 46.88 mA:: 65 65 66 - #echo 1 > sys/class/leds/torch/brightness 66 + #echo 1 > /sys/class/leds/torch/brightness 67 67 68 68 ... 69 69 70 70 375 mA:: 71 71 72 - #echo 8 > sys/class/leds/torch/brightness 72 + #echo 8 > /sys/class/leds/torch/brightness 73 73 74 74 Indicator Mode 75 75 ^^^^^^^^^^^^^^ 76 76 77 - Indicator pattern can be set through sys/class/leds/indicator/pattern file, 77 + Indicator pattern can be set through /sys/class/leds/indicator/pattern file, 78 78 and 4 patterns are pre-defined in indicator_pattern array. 79 79 80 80 According to N-lank, Pulse time and N Period values, different pattern wiill ··· 87 87 88 88 pattern 0:: 89 89 90 - #echo 0 > sys/class/leds/indicator/pattern 90 + #echo 0 > /sys/class/leds/indicator/pattern 91 91 92 92 ... 93 93 94 94 pattern 3:: 95 95 96 - #echo 3 > sys/class/leds/indicator/pattern 96 + #echo 3 > /sys/class/leds/indicator/pattern 97 97 98 98 Indicator brightness can be controlled through 99 99 sys/class/leds/indicator/brightness file. ··· 102 102 103 103 OFF:: 104 104 105 - #echo 0 > sys/class/leds/indicator/brightness 105 + #echo 0 > /sys/class/leds/indicator/brightness 106 106 107 107 5.86 mA:: 108 108 109 - #echo 1 > sys/class/leds/indicator/brightness 109 + #echo 1 > /sys/class/leds/indicator/brightness 110 110 111 111 ... 112 112 113 113 46.875mA:: 114 114 115 - #echo 8 > sys/class/leds/indicator/brightness 115 + #echo 8 > /sys/class/leds/indicator/brightness 116 116 117 117 Notes 118 118 -----