diff --git a/lvm2-2_02_28-add-ps3disk.patch b/lvm2-2_02_28-add-ps3disk.patch new file mode 100644 index 0000000..b40e9e5 --- /dev/null +++ b/lvm2-2_02_28-add-ps3disk.patch @@ -0,0 +1,21 @@ +--- LVM2.2.02.27.old/lib/filters/filter.c 2007-01-26 00:03:48.000000000 +0100 ++++ LVM2.2.02.27/lib/filters/filter.c 2007-08-01 11:13:27.000000000 +0200 +@@ -75,6 +75,8 @@ static const device_info_t device_info[] + {"aoe", 16}, /* ATA over Ethernet */ + {"device-mapper", 1}, /* Other mapped devices */ + {"xvd", 16}, /* Xen virtual block device */ ++ {"vdisk", 8}, /* SUN's LDOM virtual block device */ ++ {"ps3disk", 16}, /* PlayStation 3 internal disk */ + {NULL, 0} + }; + +--- LVM2.2.02.27.old/WHATS_NEW 2007-07-17 22:45:17.000000000 +0200 ++++ LVM2.2.02.27/WHATS_NEW 2007-08-01 11:14:36.000000000 +0200 +@@ -1,3 +1,7 @@ ++Version 2.02.28 - ++================================ ++ Add SUN's LDOM virtual block device (vdisk) and ps3disk to filters. ++ + Version 2.02.27 - 17th July 2007 + ================================ + Fix snapshot cow area deactivation if origin is not active. (2.02.13) diff --git a/lvm2.spec b/lvm2.spec index 656e722..af818cc 100644 --- a/lvm2.spec +++ b/lvm2.spec @@ -3,12 +3,13 @@ Summary: Userland logical volume management tools Name: lvm2 Version: 2.02.27 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL Group: System Environment/Base URL: http://sources.redhat.com/lvm2 Source0: LVM2.%{version}.tgz Patch0: cluster-locking-built-in.patch +Patch1: lvm2-2_02_28-add-ps3disk.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: device-mapper-devel >= %{device_mapper_version} BuildRequires: libselinux-devel >= 1.30.19-4, libsepol-devel @@ -33,6 +34,7 @@ or more physical volumes and creating one or more logical volumes %prep %setup -q -n LVM2.%{version} %patch -p1 -b .locking +%patch1 -p1 -b .ps3disk %build %configure --enable-static_link --enable-readline --enable-lvm1_fallback --with-clvmd=cman --with-cluster=internal --with-pool=internal --with-staticdir=/sbin --with-user= --with-group= @@ -196,6 +198,9 @@ fi %changelog +* Wed Aug 01 2007 Milan Broz - 2.02.27-2 +- Add SUN's LDOM virtual block device (vdisk) and ps3disk to filters. + * Wed Jul 28 2007 Alasdair Kergon - 2.02.27-1 - Add -f to vgcfgrestore to list metadata backup files. - Add pvdisplay --maps implementation.