[systemd-devel] systemd-udevd and services with DefaultDependencies=no
Cristian Rodríguez
crrodriguez at opensuse.org
Thu Nov 28 18:56:31 UTC 2024
On Thu, Nov 28, 2024 at 3:50 PM Thomas HUMMEL <thomas.hummel at pasteur.fr>
wrote:
>
>
> Hello,
>
> coming back to the topic (sorry, I had an actual physical issue with the
> device which blurred my analysis):
>
> 1. On a system where /dev/nvme0, /dev/nvme0n1 and /dev/nvme0n1p1 files
> exist, systemctl list-units --type=device | grep -i nvme only list
> physical path ones such as
> sys-devices-pci0000:a0-0000:a0:03.1-0000:a1:00.0-nvme-nvme0-nvme0n1.device
> for instance.
>
> Did you assume something I do not have by evoking dev-nvme.device ?
>
>
>
Your assumptions start early.. do the kernel swear to $deity that
/dev/nvme0 will not change meaning for as long it is the same hardware,
plugged in the same slot etc.etc.? I don't believe this warranty exists.
you need to rely on something reasonably stable to begin with. I'm afraid
this is the wrong premise to start with.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20241128/8c5268e9/attachment.htm>
More information about the systemd-devel
mailing list