[systemd-devel] What condition(s) do .device units wait for?

Andrei Borzenkov arvidjaar at gmail.com
Sat Sep 16 06:34:04 UTC 2023


On 16.09.2023 07:53, Philip Couling wrote:
> I'm trying to understand what a system is timing out waiting for a device
> in /etc/fstab when a simple "mount -av" will succeed.
> 
> To reach systemd, initramfs has already mounted the device as the base
> layer to an overlay mount used as the root file system, so it's definitely
> ready to use in the Linux kernel. In /etc/fstab, fsck is set to 0.
> 
> What condition does systemd wait for that could be timing out on a device
> that's already mounted?
> 

It waits for the device to become known to udev, to be announced to 
systemd (tag "systemd") and not having SYSTEMD_READY=0 property.


More information about the systemd-devel mailing list