[PATCH][RFC] don't eject dm-devices

Danny Kukawka danny.kukawka at web.de
Wed Oct 10 07:40:20 PDT 2007


Hi,

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).

I attached a patch which add the Eject() methode only if 
volume.linux.is_device_mapper=false.

Please comment.

Danny

 20-storage-methods.fdi |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-fix-prevent_eject_method_for_dm-devices.diff
Type: text/x-diff
Size: 1511 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20071010/cafca0ea/attachment.diff 


More information about the hal mailing list