diff options
Diffstat (limited to 'lvm2')
-rw-r--r-- | lvm2/.footprint.i686 | 120 | ||||
-rw-r--r-- | lvm2/.footprint.x86_64 | 120 | ||||
-rw-r--r-- | lvm2/.md5sum.i686 | 2 | ||||
-rw-r--r-- | lvm2/.md5sum.x86_64 | 2 | ||||
-rw-r--r-- | lvm2/Pkgfile | 34 | ||||
-rwxr-xr-x | lvm2/lvmnodes | 39 |
6 files changed, 317 insertions, 0 deletions
diff --git a/lvm2/.footprint.i686 b/lvm2/.footprint.i686 new file mode 100644 index 000000000..a4794c191 --- /dev/null +++ b/lvm2/.footprint.i686 @@ -0,0 +1,120 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/lvm/ +drwx------ root/root etc/lvm/archive/ +drwx------ root/root etc/lvm/backup/ +-rw-r--r-- root/root etc/lvm/lvm.conf +drwxr-xr-x root/root etc/rc.d/ +drwx------ root/root etc/rc.d/init.d/ +-rwxr-xr-x root/root etc/rc.d/init.d/lvmnodes +drwx------ root/root etc/rc.d/rcsysinit.d/ +lrwxrwxrwx root/root etc/rc.d/rcsysinit.d/S19lvmnodes -> ../init.d/lvmnodes +drwxr-xr-x root/root lib/ +drwxr-xr-x root/root sbin/ +-r-xr-xr-x root/root sbin/dmsetup +-r-xr-xr-x root/root sbin/fsadm +lrwxrwxrwx root/root sbin/lvchange -> lvm +lrwxrwxrwx root/root sbin/lvconvert -> lvm +lrwxrwxrwx root/root sbin/lvcreate -> lvm +lrwxrwxrwx root/root sbin/lvdisplay -> lvm +lrwxrwxrwx root/root sbin/lvextend -> lvm +-r-xr-xr-x root/root sbin/lvm +lrwxrwxrwx root/root sbin/lvmchange -> lvm +-r-xr-xr-x root/root sbin/lvmconf +lrwxrwxrwx root/root sbin/lvmdiskscan -> lvm +-r-xr-xr-x root/root sbin/lvmdump +lrwxrwxrwx root/root sbin/lvmsadc -> lvm +lrwxrwxrwx root/root sbin/lvmsar -> lvm +lrwxrwxrwx root/root sbin/lvreduce -> lvm +lrwxrwxrwx root/root sbin/lvremove -> lvm +lrwxrwxrwx root/root sbin/lvrename -> lvm +lrwxrwxrwx root/root sbin/lvresize -> lvm +lrwxrwxrwx root/root sbin/lvs -> lvm +lrwxrwxrwx root/root sbin/lvscan -> lvm +lrwxrwxrwx root/root sbin/pvchange -> lvm +lrwxrwxrwx root/root sbin/pvck -> lvm +lrwxrwxrwx root/root sbin/pvcreate -> lvm +lrwxrwxrwx root/root sbin/pvdisplay -> lvm +lrwxrwxrwx root/root sbin/pvmove -> lvm +lrwxrwxrwx root/root sbin/pvremove -> lvm +lrwxrwxrwx root/root sbin/pvresize -> lvm +lrwxrwxrwx root/root sbin/pvs -> lvm +lrwxrwxrwx root/root sbin/pvscan -> lvm +lrwxrwxrwx root/root sbin/vgcfgbackup -> lvm +lrwxrwxrwx root/root sbin/vgcfgrestore -> lvm +lrwxrwxrwx root/root sbin/vgchange -> lvm +lrwxrwxrwx root/root sbin/vgck -> lvm +lrwxrwxrwx root/root sbin/vgconvert -> lvm +lrwxrwxrwx root/root sbin/vgcreate -> lvm +lrwxrwxrwx root/root sbin/vgdisplay -> lvm +lrwxrwxrwx root/root sbin/vgexport -> lvm +lrwxrwxrwx root/root sbin/vgextend -> lvm +lrwxrwxrwx root/root sbin/vgimport -> lvm +-r-xr-xr-x root/root sbin/vgimportclone +lrwxrwxrwx root/root sbin/vgmerge -> lvm +lrwxrwxrwx root/root sbin/vgmknodes -> lvm +lrwxrwxrwx root/root sbin/vgreduce -> lvm +lrwxrwxrwx root/root sbin/vgremove -> lvm +lrwxrwxrwx root/root sbin/vgrename -> lvm +lrwxrwxrwx root/root sbin/vgs -> lvm +lrwxrwxrwx root/root sbin/vgscan -> lvm +lrwxrwxrwx root/root sbin/vgsplit -> lvm +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/lib/ +lrwxrwxrwx root/root usr/lib/libdevmapper.so -> ../../lib/libdevmapper.so.1.02 +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man5/ +-r--r--r-- root/root usr/share/man/man5/lvm.conf.5.gz +drwxr-xr-x root/root usr/share/man/man8/ +-r--r--r-- root/root usr/share/man/man8/dmsetup.8.gz +-r--r--r-- root/root usr/share/man/man8/fsadm.8.gz +-r--r--r-- root/root usr/share/man/man8/lvchange.8.gz +-r--r--r-- root/root usr/share/man/man8/lvconvert.8.gz +-r--r--r-- root/root usr/share/man/man8/lvcreate.8.gz +-r--r--r-- root/root usr/share/man/man8/lvdisplay.8.gz +-r--r--r-- root/root usr/share/man/man8/lvextend.8.gz +-r--r--r-- root/root usr/share/man/man8/lvm.8.gz +-r--r--r-- root/root usr/share/man/man8/lvmchange.8.gz +-r--r--r-- root/root usr/share/man/man8/lvmconf.8.gz +-r--r--r-- root/root usr/share/man/man8/lvmdiskscan.8.gz +-r--r--r-- root/root usr/share/man/man8/lvmdump.8.gz +-r--r--r-- root/root usr/share/man/man8/lvmsadc.8.gz +-r--r--r-- root/root usr/share/man/man8/lvmsar.8.gz +-r--r--r-- root/root usr/share/man/man8/lvreduce.8.gz +-r--r--r-- root/root usr/share/man/man8/lvremove.8.gz +-r--r--r-- root/root usr/share/man/man8/lvrename.8.gz +-r--r--r-- root/root usr/share/man/man8/lvresize.8.gz +-r--r--r-- root/root usr/share/man/man8/lvs.8.gz +-r--r--r-- root/root usr/share/man/man8/lvscan.8.gz +-r--r--r-- root/root usr/share/man/man8/pvchange.8.gz +-r--r--r-- root/root usr/share/man/man8/pvck.8.gz +-r--r--r-- root/root usr/share/man/man8/pvcreate.8.gz +-r--r--r-- root/root usr/share/man/man8/pvdisplay.8.gz +-r--r--r-- root/root usr/share/man/man8/pvmove.8.gz +-r--r--r-- root/root usr/share/man/man8/pvremove.8.gz +-r--r--r-- root/root usr/share/man/man8/pvresize.8.gz +-r--r--r-- root/root usr/share/man/man8/pvs.8.gz +-r--r--r-- root/root usr/share/man/man8/pvscan.8.gz +-r--r--r-- root/root usr/share/man/man8/vgcfgbackup.8.gz +-r--r--r-- root/root usr/share/man/man8/vgcfgrestore.8.gz +-r--r--r-- root/root usr/share/man/man8/vgchange.8.gz +-r--r--r-- root/root usr/share/man/man8/vgck.8.gz +-r--r--r-- root/root usr/share/man/man8/vgconvert.8.gz +-r--r--r-- root/root usr/share/man/man8/vgcreate.8.gz +-r--r--r-- root/root usr/share/man/man8/vgdisplay.8.gz +-r--r--r-- root/root usr/share/man/man8/vgexport.8.gz +-r--r--r-- root/root usr/share/man/man8/vgextend.8.gz +-r--r--r-- root/root usr/share/man/man8/vgimport.8.gz +-r--r--r-- root/root usr/share/man/man8/vgimportclone.8.gz +-r--r--r-- root/root usr/share/man/man8/vgmerge.8.gz +-r--r--r-- root/root usr/share/man/man8/vgmknodes.8.gz +-r--r--r-- root/root usr/share/man/man8/vgreduce.8.gz +-r--r--r-- root/root usr/share/man/man8/vgremove.8.gz +-r--r--r-- root/root usr/share/man/man8/vgrename.8.gz +-r--r--r-- root/root usr/share/man/man8/vgs.8.gz +-r--r--r-- root/root usr/share/man/man8/vgscan.8.gz +-r--r--r-- root/root usr/share/man/man8/vgsplit.8.gz +drwxr-xr-x root/root var/ +drwxrwxrwt root/root var/lock/ +drwx------ root/root var/lock/lvm/ diff --git a/lvm2/.footprint.x86_64 b/lvm2/.footprint.x86_64 new file mode 100644 index 000000000..a4794c191 --- /dev/null +++ b/lvm2/.footprint.x86_64 @@ -0,0 +1,120 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/lvm/ +drwx------ root/root etc/lvm/archive/ +drwx------ root/root etc/lvm/backup/ +-rw-r--r-- root/root etc/lvm/lvm.conf +drwxr-xr-x root/root etc/rc.d/ +drwx------ root/root etc/rc.d/init.d/ +-rwxr-xr-x root/root etc/rc.d/init.d/lvmnodes +drwx------ root/root etc/rc.d/rcsysinit.d/ +lrwxrwxrwx root/root etc/rc.d/rcsysinit.d/S19lvmnodes -> ../init.d/lvmnodes +drwxr-xr-x root/root lib/ +drwxr-xr-x root/root sbin/ +-r-xr-xr-x root/root sbin/dmsetup +-r-xr-xr-x root/root sbin/fsadm +lrwxrwxrwx root/root sbin/lvchange -> lvm +lrwxrwxrwx root/root sbin/lvconvert -> lvm +lrwxrwxrwx root/root sbin/lvcreate -> lvm +lrwxrwxrwx root/root sbin/lvdisplay -> lvm +lrwxrwxrwx root/root sbin/lvextend -> lvm +-r-xr-xr-x root/root sbin/lvm +lrwxrwxrwx root/root sbin/lvmchange -> lvm +-r-xr-xr-x root/root sbin/lvmconf +lrwxrwxrwx root/root sbin/lvmdiskscan -> lvm +-r-xr-xr-x root/root sbin/lvmdump +lrwxrwxrwx root/root sbin/lvmsadc -> lvm +lrwxrwxrwx root/root sbin/lvmsar -> lvm +lrwxrwxrwx root/root sbin/lvreduce -> lvm +lrwxrwxrwx root/root sbin/lvremove -> lvm +lrwxrwxrwx root/root sbin/lvrename -> lvm +lrwxrwxrwx root/root sbin/lvresize -> lvm +lrwxrwxrwx root/root sbin/lvs -> lvm +lrwxrwxrwx root/root sbin/lvscan -> lvm +lrwxrwxrwx root/root sbin/pvchange -> lvm +lrwxrwxrwx root/root sbin/pvck -> lvm +lrwxrwxrwx root/root sbin/pvcreate -> lvm +lrwxrwxrwx root/root sbin/pvdisplay -> lvm +lrwxrwxrwx root/root sbin/pvmove -> lvm +lrwxrwxrwx root/root sbin/pvremove -> lvm +lrwxrwxrwx root/root sbin/pvresize -> lvm +lrwxrwxrwx root/root sbin/pvs -> lvm +lrwxrwxrwx root/root sbin/pvscan -> lvm +lrwxrwxrwx root/root sbin/vgcfgbackup -> lvm +lrwxrwxrwx root/root sbin/vgcfgrestore -> lvm +lrwxrwxrwx root/root sbin/vgchange -> lvm +lrwxrwxrwx root/root sbin/vgck -> lvm +lrwxrwxrwx root/root sbin/vgconvert -> lvm +lrwxrwxrwx root/root sbin/vgcreate -> lvm +lrwxrwxrwx root/root sbin/vgdisplay -> lvm +lrwxrwxrwx root/root sbin/vgexport -> lvm +lrwxrwxrwx root/root sbin/vgextend -> lvm +lrwxrwxrwx root/root sbin/vgimport -> lvm +-r-xr-xr-x root/root sbin/vgimportclone +lrwxrwxrwx root/root sbin/vgmerge -> lvm +lrwxrwxrwx root/root sbin/vgmknodes -> lvm +lrwxrwxrwx root/root sbin/vgreduce -> lvm +lrwxrwxrwx root/root sbin/vgremove -> lvm +lrwxrwxrwx root/root sbin/vgrename -> lvm +lrwxrwxrwx root/root sbin/vgs -> lvm +lrwxrwxrwx root/root sbin/vgscan -> lvm +lrwxrwxrwx root/root sbin/vgsplit -> lvm +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/lib/ +lrwxrwxrwx root/root usr/lib/libdevmapper.so -> ../../lib/libdevmapper.so.1.02 +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man5/ +-r--r--r-- root/root usr/share/man/man5/lvm.conf.5.gz +drwxr-xr-x root/root usr/share/man/man8/ +-r--r--r-- root/root usr/share/man/man8/dmsetup.8.gz +-r--r--r-- root/root usr/share/man/man8/fsadm.8.gz +-r--r--r-- root/root usr/share/man/man8/lvchange.8.gz +-r--r--r-- root/root usr/share/man/man8/lvconvert.8.gz +-r--r--r-- root/root usr/share/man/man8/lvcreate.8.gz +-r--r--r-- root/root usr/share/man/man8/lvdisplay.8.gz +-r--r--r-- root/root usr/share/man/man8/lvextend.8.gz +-r--r--r-- root/root usr/share/man/man8/lvm.8.gz +-r--r--r-- root/root usr/share/man/man8/lvmchange.8.gz +-r--r--r-- root/root usr/share/man/man8/lvmconf.8.gz +-r--r--r-- root/root usr/share/man/man8/lvmdiskscan.8.gz +-r--r--r-- root/root usr/share/man/man8/lvmdump.8.gz +-r--r--r-- root/root usr/share/man/man8/lvmsadc.8.gz +-r--r--r-- root/root usr/share/man/man8/lvmsar.8.gz +-r--r--r-- root/root usr/share/man/man8/lvreduce.8.gz +-r--r--r-- root/root usr/share/man/man8/lvremove.8.gz +-r--r--r-- root/root usr/share/man/man8/lvrename.8.gz +-r--r--r-- root/root usr/share/man/man8/lvresize.8.gz +-r--r--r-- root/root usr/share/man/man8/lvs.8.gz +-r--r--r-- root/root usr/share/man/man8/lvscan.8.gz +-r--r--r-- root/root usr/share/man/man8/pvchange.8.gz +-r--r--r-- root/root usr/share/man/man8/pvck.8.gz +-r--r--r-- root/root usr/share/man/man8/pvcreate.8.gz +-r--r--r-- root/root usr/share/man/man8/pvdisplay.8.gz +-r--r--r-- root/root usr/share/man/man8/pvmove.8.gz +-r--r--r-- root/root usr/share/man/man8/pvremove.8.gz +-r--r--r-- root/root usr/share/man/man8/pvresize.8.gz +-r--r--r-- root/root usr/share/man/man8/pvs.8.gz +-r--r--r-- root/root usr/share/man/man8/pvscan.8.gz +-r--r--r-- root/root usr/share/man/man8/vgcfgbackup.8.gz +-r--r--r-- root/root usr/share/man/man8/vgcfgrestore.8.gz +-r--r--r-- root/root usr/share/man/man8/vgchange.8.gz +-r--r--r-- root/root usr/share/man/man8/vgck.8.gz +-r--r--r-- root/root usr/share/man/man8/vgconvert.8.gz +-r--r--r-- root/root usr/share/man/man8/vgcreate.8.gz +-r--r--r-- root/root usr/share/man/man8/vgdisplay.8.gz +-r--r--r-- root/root usr/share/man/man8/vgexport.8.gz +-r--r--r-- root/root usr/share/man/man8/vgextend.8.gz +-r--r--r-- root/root usr/share/man/man8/vgimport.8.gz +-r--r--r-- root/root usr/share/man/man8/vgimportclone.8.gz +-r--r--r-- root/root usr/share/man/man8/vgmerge.8.gz +-r--r--r-- root/root usr/share/man/man8/vgmknodes.8.gz +-r--r--r-- root/root usr/share/man/man8/vgreduce.8.gz +-r--r--r-- root/root usr/share/man/man8/vgremove.8.gz +-r--r--r-- root/root usr/share/man/man8/vgrename.8.gz +-r--r--r-- root/root usr/share/man/man8/vgs.8.gz +-r--r--r-- root/root usr/share/man/man8/vgscan.8.gz +-r--r--r-- root/root usr/share/man/man8/vgsplit.8.gz +drwxr-xr-x root/root var/ +drwxrwxrwt root/root var/lock/ +drwx------ root/root var/lock/lvm/ diff --git a/lvm2/.md5sum.i686 b/lvm2/.md5sum.i686 new file mode 100644 index 000000000..d4ccdac14 --- /dev/null +++ b/lvm2/.md5sum.i686 @@ -0,0 +1,2 @@ +8b4e0897ee48f02c0dff11940e44e23b LVM2.2.02.84.tgz +70b51cdea7248db362d2e394786393de lvmnodes diff --git a/lvm2/.md5sum.x86_64 b/lvm2/.md5sum.x86_64 new file mode 100644 index 000000000..d4ccdac14 --- /dev/null +++ b/lvm2/.md5sum.x86_64 @@ -0,0 +1,2 @@ +8b4e0897ee48f02c0dff11940e44e23b LVM2.2.02.84.tgz +70b51cdea7248db362d2e394786393de lvmnodes diff --git a/lvm2/Pkgfile b/lvm2/Pkgfile new file mode 100644 index 000000000..dad828671 --- /dev/null +++ b/lvm2/Pkgfile @@ -0,0 +1,34 @@ +# Description: Outils pour la gestion des volumes logiques (lvm) +# URL: http://sourceware.org/lvm2/ +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Run on: device-mapper + +name=lvm2 +version=2.02.84 +release=2 +source=(ftp://sources.redhat.com/pub/lvm2/LVM2.$version.tgz\ + lvmnodes) +build() { + cd LVM2.$version + ./configure \ + --prefix=/usr \ + --exec-prefix= \ + --mandir=/usr/share/man \ + --enable-lvm1_fallback \ + --disable-readline + + make + make DESTDIR=$PKG install + install -d -m 0700 $PKG/etc/rc.d/{init.d,rcsysinit.d} + cp ../lvmnodes $PKG/etc/rc.d/init.d/ + ln -s ../init.d/lvmnodes $PKG/etc/rc.d/rcsysinit.d/S19lvmnodes + install -d -m 0700 $PKG/etc/lvm/{archive,backup} + install -d -m 1777 $PKG/var/lock + install -d -m 0700 $PKG/var/lock/lvm + # devel in device-mapper + rm $PKG/usr/include/libdevmapper.h + rm $PKG/lib/libdevmapper.so.1.02 +} + + diff --git a/lvm2/lvmnodes b/lvm2/lvmnodes new file mode 100755 index 000000000..28ef51732 --- /dev/null +++ b/lvm2/lvmnodes @@ -0,0 +1,39 @@ +#!/bin/sh +######################################################################## +# Begin $rc_base/init.d/lvmnodes +# +# Description : mknodes lvm +# +# Authors : guy_ +# +# Version : 00.00 +# +# Notes : +######################################################################### + +. /etc/sysconfig/rc +. ${rc_functions} + +boot_mesg "Mapping lvm drives..." +case "${1}" in + start) + if [ -f /sbin/lvm ]; then + /sbin/lvm vgscan --ignorelockingfailure --mknodes + evaluate_retval + error_value=${?} + if [ "${error_value}" = 0 ]; then + echo_ok + exit 0 + else + echo_failure + exit ${error_value} + fi + fi + ;; + *) + echo "Usage: ${0} {start}" + exit 1 + ;; +esac + +# End $rc_base/init.d/lvmnodes |