[systemd-devel] [systemd]: How to set systemd not to generate loop0.device and mtdblockx.device?
Colin Guthrie
gmane at colin.guthr.ie
Mon Oct 11 11:29:36 UTC 2021
Hi,
www wrote on 09/10/2021 04:27:
> In our system, the whole machine starts too slowly. We want to do some
> optimization. I found that two services( *loop0.device and
> mtdblock5.device*) started slowly. I want to remove them (I personally
> think our system are not need them). I want to ask you how to avoid
> generating these two device files and not start them?
>
> I am looking forward to your reply.
Something in your configuration will be causing them to be mounted.
Likely something in fstab or a mount unit etc.
These are super generic devices so it's impossible to say how to stop it
happening with out knowing the configuration that triggers it. Of course
if you know that config, then you can fix the issue!
If it's in fstab but not "essential" for boot but still desirable,
consider adding e.g. nowait or similar as a mount option.
Col
More information about the systemd-devel
mailing list