use dev_t to identify mounts, not device files
authorDavid Zeuthen <davidz@redhat.com>
Tue, 3 Mar 2009 21:20:08 +0000 (16:20 -0500)
committerDavid Zeuthen <davidz@redhat.com>
Tue, 3 Mar 2009 21:20:08 +0000 (16:20 -0500)
commit7cca7ee84bd3f15f86a8648e4c39a2d3f8756803
treee7f60b6683b64d00b092bd51cd9f1020590d370c
parentc9aedde6366f81be9f9194cc7cf1e244220d2f8b
use dev_t to identify mounts, not device files

This should fix all issues with things like device-mapper using
non-canonical device file names (e.g. /dev/mapper/VolGroup00-LogVol00).
Also, this allows us to delete a bunch of special case code that
already tried to deal with this

See https://bugzilla.redhat.com/show_bug.cgi?id=488258 for details.
src/devkit-disks-daemon.c
src/devkit-disks-daemon.h
src/devkit-disks-device-private.h
src/devkit-disks-device.c
src/devkit-disks-device.h
src/devkit-disks-mount-monitor.c
src/devkit-disks-mount-monitor.h
src/devkit-disks-mount.c
src/devkit-disks-mount.h
src/devkit-disks-private.h