is it possible to remove/disable virtual unit (device units)? I am able to reduce boot time by commenting rules in 60-persistent-storage.rules such as by-path, by-id,by-label, is this change may have an impact?
Thanks, Mohamed Ali Le dim. 28 juin 2020 10:22, Mantas Mikulėnas <[email protected]> a écrit : > On Sat, Jun 27, 2020 at 11:30 PM Mohamed Ali Fodha < > [email protected]> wrote: > >> Hello, >> >> I noticed that mounting partition takes more time on yocto thud regarding >> rocko. >> I checked the dev-mmcblk0p2.device in my case using systemd-bootchart. >> Is there any reason why this mouting delay was increased? >> > > Either the kernel takes longer to *detect* the device in the first place > (maybe partition scanning became slower?), or you have added udev rules > which take a long time to be processed. There is no hardcoded mounting > delay within systemd itself. > > >> Where the dev-mmcblk0p2.device comes from? I am not able to locate it in >> /lib/systemd/system, any help on this please? >> > > .device units are virtual units which represent the state of udev > database. The unit shows up whenever the kernel informs udev about a new > device, but it only gets marked as "active (plugged)" when udev's rule > processing for that device finishes. > > -- > Mantas Mikulėnas >
_______________________________________________ systemd-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/systemd-devel
