aboutsummaryrefslogtreecommitdiff
blob: f7658d1cd9fc884c32b4f90c16cb1ff2e39dccdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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