[systemd-devel] [PATCH] rules: mark loop device as SYSTEMD_READY=0 if no file is attached
Lennart Poettering
lennart at poettering.net
Mon Mar 10 15:00:34 PDT 2014
On Thu, 06.03.14 09:16, Peter Rajnoha (prajnoha at redhat.com) wrote:
> Hi!
>
> Based on SYSTEMD_READY definition, I think we should also mark loop
> devices with no file attached as not ready:
>
> rules: mark loop device as SYSTEMD_READY=0 if no file is attached
>
> Check existence of loop/backing_file in sysfs and mark loop
> devices with SYSTEMD_READY if missing. Such loop files is
> uninitialized and it's not ready for use yet (there's no file
> attached).
Looks good!
Applied!
Thanks!
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list