2014-04-10 12:19:46 +02:00
|
|
|
From e26a5bb50b8aa741c5b2e57749d576c488e7ab32 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Hannes Reinecke <hare@suse.de>
|
|
|
|
Date: Thu, 10 Apr 2014 11:10:41 +0200
|
|
|
|
Subject: [PATCH 1/2] 64-btrfs.rules: skip btrfs check if devices are not ready
|
|
|
|
|
|
|
|
If any devices are marked with 'SYSTEMD_READY=0' then
|
|
|
|
we shouldn't run any btrfs check on them.
|
|
|
|
|
|
|
|
---
|
2015-06-23 14:56:50 +02:00
|
|
|
rules/64-btrfs.rules | 1 +
|
2014-04-10 12:19:46 +02:00
|
|
|
1 file changed, 1 insertion(+)
|
|
|
|
|
2015-06-23 14:56:50 +02:00
|
|
|
Index: systemd-221/rules/64-btrfs.rules
|
|
|
|
===================================================================
|
|
|
|
--- systemd-221.orig/rules/64-btrfs.rules
|
|
|
|
+++ systemd-221/rules/64-btrfs.rules
|
2014-04-10 12:19:46 +02:00
|
|
|
@@ -3,6 +3,7 @@
|
|
|
|
SUBSYSTEM!="block", GOTO="btrfs_end"
|
|
|
|
ACTION=="remove", GOTO="btrfs_end"
|
|
|
|
ENV{ID_FS_TYPE}!="btrfs", GOTO="btrfs_end"
|
|
|
|
+ENV{SYSTEMD_READY}=="0", GOTO="btrfs_end"
|
|
|
|
|
|
|
|
# let the kernel know about this btrfs filesystem, and check if it is complete
|
|
|
|
IMPORT{builtin}="btrfs ready $devnode"
|