chiark / gitweb /
rules: mark loop device as SYSTEMD_READY=0 if no file is attached
authorPeter Rajnoha <prajnoha@redhat.com>
Mon, 10 Mar 2014 21:58:14 +0000 (22:58 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 10 Mar 2014 21:58:14 +0000 (22:58 +0100)
commitebc54302d7fc70927d5dc119e178ff03f6a911ed
treea0b5e0e7a8775b17a3d19a8f1b549cf207bb091d
parent2d0efdf1af5ff77441228854343c61d42a89840c
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).
rules/99-systemd.rules.in