Public bug reported:

We're using bcache under trusty HWE kernel  (3.16.0-38-generic)
with bcache-tools 1.0.7-0ubuntu1 (built from src).

As trusty has util-linux 2.20.1, udev rules for auto registering
bcache devices are skipped:

 # blkid was run by the standard udev rules
 # It recognised bcache (util-linux 2.24+)
 ENV{ID_FS_TYPE}=="bcache", GOTO="bcache_backing_found"

We're manually cowboy'ing the following line alongside above:
 KERNEL=="nvme*", GOTO="bcache_backing_found"

, but it would be great if something like trying bcache-register
on non rotational devices were added to the udev rules:

 ENV{DEVTYPE}=="disk", ATTR{queue/rotational}=="0",
GOTO="bcache_backing_found"

** Affects: bcache-tools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: canonical-bootstack

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1462466

Title:
  bcache-tools udev rules on trusty lacking util-linux 2.24+ workaround

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bcache-tools/+bug/1462466/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to