From 828795ddd5d23a4e5030d191c11e713c4bd6906a Mon Sep 17 00:00:00 2001 From: Danny Kukawka Date: Thu, 6 Dec 2007 18:34:00 +0100 Subject: [PATCH] don't Eject() on dm-devices Maybe this is Linux specific, but currently we have the Eject() methode also on dm-devices, but this fail because AFAIK dm-devices don't support eject (it is a ioctl which is not allowed on dm). This adds the Eject() methode only if volume.linux.is_device_mapper=false. --- fdi/policy/10osvendor/20-storage-methods.fdi | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/fdi/policy/10osvendor/20-storage-methods.fdi b/fdi/policy/10osvendor/20-storage-methods.fdi index 3304eaf..9a0cbf5 100644 --- a/fdi/policy/10osvendor/20-storage-methods.fdi +++ b/fdi/policy/10osvendor/20-storage-methods.fdi @@ -167,10 +167,12 @@ extra_options hal-storage-unmount - Eject - as - extra_options - hal-storage-eject + + Eject + as + extra_options + hal-storage-eject + -- 1.5.3.7