lkml.org 
[lkml]   [2021]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4 1/2] docs: Add block device (blkdev) LED trigger documentation
On Thu, Sep 16, 2021 at 03:21:26PM -0500, Ian Pilcher wrote:
> +What: /sys/class/leds/<led>/link_device
> +Date: September 2021
> +Contact: Ian Pilcher <arequipeno@gmail.com>
> +Description:
> + Associate a block device with this LED by writing the path to
> + the device special file (e.g. /dev/sda) to this attribute.
> + Symbolic links are followed. Optionally, the leading "/dev/"
> + may be omitted.

No, please don't follow symlinks, stick with kernel names here,
otherwise you have a mismatch between that and the list of devices in
this file:

> +What: /sys/class/leds/<led>/linked_devices

thanks,

greg k-h

\
 
 \ /
  Last update: 2021-09-17 08:20    [W:2.339 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site