aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'hal-0.5.11-patches/0025-prevent-hal-from-automounting-Dell-recovery-partitio.patch')
-rw-r--r--hal-0.5.11-patches/0025-prevent-hal-from-automounting-Dell-recovery-partitio.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/hal-0.5.11-patches/0025-prevent-hal-from-automounting-Dell-recovery-partitio.patch b/hal-0.5.11-patches/0025-prevent-hal-from-automounting-Dell-recovery-partitio.patch
new file mode 100644
index 00000000..f7658d1c
--- /dev/null
+++ b/hal-0.5.11-patches/0025-prevent-hal-from-automounting-Dell-recovery-partitio.patch
@@ -0,0 +1,31 @@
+From 473cfdedaba4268e1f2266c0393bd394891536d5 Mon Sep 17 00:00:00 2001
+From: Pacho Ramos <pacho@condmat1.ciencias.uniovi.es>
+Date: Wed, 1 Oct 2008 12:19:41 +0200
+Subject: [PATCH 25/48] prevent hal from automounting Dell recovery partition
+
+This patch prevent hal from automounting Dell recovery partition (and
+any ntfs partition with label "RECOVERY")
+---
+ fdi/policy/10osvendor/20-storage-methods.fdi | 6 ++++++
+ 1 files changed, 6 insertions(+), 0 deletions(-)
+
+diff --git a/fdi/policy/10osvendor/20-storage-methods.fdi b/fdi/policy/10osvendor/20-storage-methods.fdi
+index e8a8c60..9fbe202 100644
+--- a/fdi/policy/10osvendor/20-storage-methods.fdi
++++ b/fdi/policy/10osvendor/20-storage-methods.fdi
+@@ -132,6 +132,12 @@
+ </match>
+ </match>
+
++ <match key="volume.fstype" string="ntfs">
++ <match key="volume.label" string="RECOVERY">
++ <merge key="volume.ignore" type="bool">true</merge>
++ </match>
++ </match>
++
+ <!-- ASUS ships some desktop with a recovery partition -->
+ <match key="volume.fstype" string="vfat">
+ <match key="volume.label" string="RECOVERY">
+--
+1.6.1.2
+