Add function to match file to mount point
commit695656d25279342f80c307035721ced6d37ee08b
authorAllan McRae <allan@archlinux.org>
Tue, 16 Nov 2010 06:24:52 +0000 (16 16:24 +1000)
committerDan McGee <dan@archlinux.org>
Mon, 13 Dec 2010 02:29:49 +0000 (12 20:29 -0600)
tree79a76e61175824ef0c66abeaf97818fb1d7fa9c4
parentf4e9deb6d74614ac427b37513359d91588dd1542
Add function to match file to mount point

For a given file, determine which mount point it is on or will be
installed to.  Take into account that we might be using an alternative
installation root.

Add additional helper function added to sort mount point list for easier
matching.

Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/diskspace.c