summaryrefslogtreecommitdiffstats
path: root/extra/hal/no-fixed-drives.fdi
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-10 23:11:24 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-10 23:11:24 +0200
commitacde9e36d477de93466f0299944152e2081682ae (patch)
treea48408c356f45adbecb51c067ff85d9608f797cd /extra/hal/no-fixed-drives.fdi
parente21c99ef1c4939a51ca74a1d05ddfca6bd99a2b4 (diff)
downloadnutyx-extra-acde9e36d477de93466f0299944152e2081682ae.tar.gz
nutyx-extra-acde9e36d477de93466f0299944152e2081682ae.tar.bz2
nutyx-extra-acde9e36d477de93466f0299944152e2081682ae.tar.xz
nutyx-extra-acde9e36d477de93466f0299944152e2081682ae.zip
Ajout de hal#0.5.13-1
Diffstat (limited to 'extra/hal/no-fixed-drives.fdi')
-rwxr-xr-xextra/hal/no-fixed-drives.fdi14
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/hal/no-fixed-drives.fdi b/extra/hal/no-fixed-drives.fdi
new file mode 100755
index 000000000..6832ee2c5
--- /dev/null
+++ b/extra/hal/no-fixed-drives.fdi
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
+
+<!-- Don't allow HAL methods on disks that are not
+ removable or hotpluggable -->
+
+<deviceinfo version="0.2">
+<device>
+ <match key="@block.storage_device:storage.hotpluggable" bool="false">
+ <match key="@block.storage_device:storage.removable" bool="false">
+ <merge key="volume.ignore" type="bool">true</merge>
+ </match>
+ </match>
+</device>
+</deviceinfo>