-
Committer:
Scott Moser
-
Date:
2017-04-06 20:14:30 UTC
-
Revision ID:
smoser@ubuntu.com-20170406201430-uy8vkjeb3qmq2jld
Fix systems with root on bcache device.
Systems with root on bcache would end up booting with root=/dev/bcache0
(or bcache1). Bcache device names are not guaranteed, so this could
cause issues.
The fix is to invoke 'udevadm trigger' after creating a filesystem on
a bcache device. That will populate /dev/disk/by-uuid, which will
cause grub to properly decide to boot by root=UUID=.