---
 hook-functions | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/hook-functions b/hook-functions
index ee1c205..97626ec 100644
--- a/hook-functions
+++ b/hook-functions
@@ -434,6 +434,9 @@ dep_add_modules_mount()
                block=${dev_node#/dev/i2o/}
                block=${block%%[0-9]*}
                block='i2o!'$block
+       # bcache device
+       elif [ "${dev_node#/dev/bcache}" != "${dev_node}" ]; then
+               block=${dev_node#/dev/}
        # classical block device
        else
                block=${dev_node#/dev/}
-- 
2.6.2

Reply via email to