Re: systemd-udevd and services with DefaultDependencies=no

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Thu, Nov 28, 2024 at 3:50 PM Thomas HUMMEL <thomas.hummel@xxxxxxxxxx> 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.


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux