This is used in eudev-*.ebuild: # 64-device-mapper.rules now gets installed by sys-fs/device-mapper # remove it if user don't has sys-fs/device-mapper installed, 27 Jun 2007 if [[ -f ${EROOT}etc/udev/rules.d/64-device-mapper.rules ]] && ! has_version sys-fs/device-mapper then rm -f "${EROOT}"etc/udev/rules.d/64-device-mapper.rules einfo "Removed unneeded file 64-device-mapper.rules" fi This is current in udev-9999.ebuild: # 64-device-mapper.rules is related to sys-fs/device-mapper which we block # in favor of sys-fs/lvm2 old_dm_rules=${ROOT}etc/udev/rules.d/64-device-mapper.rules if [[ -f ${old_dm_rules} ]]; then rm -f "${old_dm_rules}" einfo "Removed unneeded file ${old_dm_rules}" fi Basically sys-fs/device-mapper has been removed from Portage today, and has been uninstallable for, well, years(!) So please drop any has_version checks for it, and just block it and rely the blocker to make sure it's not installed
(In reply to Samuli Suominen from comment #0) > So please drop any has_version checks for it, and just block it and rely the > blocker to make sure it's not installed The check is gone. But why bother with the block, its off the tree.
(In reply to Anthony Basile from comment #1) > (In reply to Samuli Suominen from comment #0) > > So please drop any has_version checks for it, and just block it and rely the > > blocker to make sure it's not installed > > The check is gone. But why bother with the block, its off the tree. "off the tree" doesn't mean "uninstalled on users installations" and having it installed has potential of breaking LVM with the old udev rules