New minor release with changes as seen at ftp://sources.redhat.com/pub/dm/WHATS_NEW. Works fine by just bumping the previous version, but some minor changes can be made to take advantage of new EAPI 2 phases as seen in the attached diff.
Created attachment 167068 [details] 1.02.27-1.02.28_eapi2.diff Update the ebuild to use new EAPI 2 features
agk: 1. any warnings against device-mapper-1.02.28? 2. I thought we sent the --export patch upstream once before, but I can't find proof of that. Did we, was it rejected? http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/device-mapper/files/device-mapper-1.02.27-export-format.diff?rev=1.1&view=markup
No specific problems with 1.02.28, but I'd wait till lvm2 reaches 2.02.41 as the combination of 1.02.28 + 2.02.39 has never been tested and there's one bug outstanding in .40 that might require a change to .28. (If there are problems, they'll show up in commands that manipulate the device tree like lvconvert & mirrors etc.) --export functionality is now upstream - but it was implemented a different way by extending the reporting options (info -c --rows --unquoted -o... etc.). (If there turns out to be specific set of required fields then we can add a shortcut for it later, that expands to a specific hard-coded command line.)
agk: Our udev rules use --export directly. /etc/udev/rules.d/64-device-mapper.rules:IMPORT{program}="/sbin/dmsetup info --export -j%M -m%m" Sample output: # dmsetup info --export -j253 -m5 DM_NAME=vg-home DM_MAJOR=253 DM_MINOR=5 DM_STATUS=ACTIVE DM_READ_ONLY=0 DM_EXISTS=1 DM_SUSPENDED=Active DM_TABLE_LIVE=1 DM_TABLE_INACTIVE=0 DM_OPEN=1 DM_SEGMENTS=1 DM_EVENTS=0 DM_UUID=LVM-hi5INdfGB06QByX6O7aIujXbOkvqGceUiX8RwyVx3T5dp4DvSGGFCVT8qanmfpAZ DM_TARGET_TYPES=linear
.28 is now in the tree, but we still use our own --export patch. agk: Did you see my comments here about the --export stuff output differing?