[systemd-devel] Ordering of systemd-tmpfiles-setup.service and systemd-modules-load.service
Greg KH
gregkh at linuxfoundation.org
Wed Jun 23 17:52:51 UTC 2021
On Wed, Jun 23, 2021 at 12:27:53PM -0500, Ian Pilcher wrote:
> I would like to add a udev rule that creates a symlink to a sysfs
> directory, and a subdirectory of /run seem like the right place to put
> it. Of course this means that the subdirectory needs to exist.
sysfs should be "self-contained", trying to add symlinks to it from
external places is racy and guaranteed to not work over time.
What problem are you trying to solve here that links into sysfs is an
attempted solution?
thanks,
greg k-h
More information about the systemd-devel
mailing list