Use /dev/mapper/$DM_NAME as fallback, if available
authorDavid Zeuthen <davidz@redhat.com>
Fri, 12 Aug 2011 18:04:44 +0000 (14:04 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Fri, 12 Aug 2011 18:04:44 +0000 (14:04 -0400)
commit5916a4f138bdd08fbc942bc4d129daf7b7bad3c9
tree1ea97e2b84a76447432477daee7e34bea6180850
parent0fb18c84eeadf39fb0fdc19f72adc906b9367282
Use /dev/mapper/$DM_NAME as fallback, if available

This ensures that PreferredDeviceFile will be /dev/mapper/sd_card
instead of e.g. /dev/dm-3 if DM_NAME is "sd_card".

Signed-off-by: David Zeuthen <davidz@redhat.com>
src/udiskslinuxblock.c