summaryrefslogtreecommitdiff
path: root/debian/mdadm.modules
diff options
context:
space:
mode:
authorMichael Tokarev <mjt@tls.msk.ru>2014-09-20 09:27:33 +0400
committerMichael Tokarev <mjt@tls.msk.ru>2014-09-20 09:27:58 +0400
commita58e7bac109e770c7a6c411d69cce95be02c0e17 (patch)
treefd776189206b8e313477c37726fe50bfdf8a8c7a /debian/mdadm.modules
parentb0c161ab4a878e5c639823908cf2b224b56c1904 (diff)
create /etc/modprobe.d/mdadm.conf
Diffstat (limited to 'debian/mdadm.modules')
-rw-r--r--debian/mdadm.modules8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/mdadm.modules b/debian/mdadm.modules
new file mode 100644
index 00000000..5ad12499
--- /dev/null
+++ b/debian/mdadm.modules
@@ -0,0 +1,8 @@
+# mdadm module configuration file
+# set start_ro=1 to make newly assembled arrays read-only initially,
+# to prevent metadata writes. This is needed in order to allow
+# resume-from-disk to work - new boot should not perform writes
+# because it will be done behind the back of the system being
+# resumed. See http://bugs.debian.org/415441 for details.
+
+options md_mod start_ro=1