assemble multidevice btrfs volumes without external tools
This self-contained approach introduce very little overhead, unless
someone has a large number of devices composing many btrfs volumes,
in which case btrfs device scan would be faster. Still, having robust
implementation is a nice to have alternative for btrfs-progs.
# mark the device as not ready to be used by the system
ENV{ID_BTRFS_READY}=="0", ENV{SYSTEMD_READY}="0"
+# reconsider pending devices in case when multidevice volume awaits
+ENV{ID_BTRFS_READY}=="1", RUN+="@rootlibexecdir@/udevadm trigger -s block -p ID_BTRFS_READY=0"
+
LABEL="btrfs_end"
60-persistent-v4l.rules
60-sensor.rules
60-serial.rules
- 64-btrfs.rules
70-joystick.rules
70-mouse.rules
70-touchpad.rules
rules_in = '''
50-udev-default.rules
+ 64-btrfs.rules
99-systemd.rules
'''.split()