From 9b58b71c84a33995df720c4ecec448d142d2772c Mon Sep 17 00:00:00 2001 From: Andres Salomon Date: Sun, 1 Sep 2002 23:08:17 +0000 Subject: [PATCH] update, synch w/ debian --- debian/changelog | 8 +++++--- debian/control | 2 +- debian/init.d | 8 +++++++- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/debian/changelog b/debian/changelog index b12728928..777535f69 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,10 @@ -lvm2 (1.95.08-1) unstable; urgency=low +lvm2 (1.95.10-1) unstable; urgency=low - * New upstream release (Beta3). + * New upstream release (Beta 3.2). + * Change all references to /dev/device-mapper/control to + /dev/mapper/control. - -- Andres Salomon Thu, 23 May 2002 03:46:37 -0500 + -- Andres Salomon Sun, 1 Sep 2002 18:55:12 -0400 lvm2 (0.95.05-3) unstable; urgency=low diff --git a/debian/control b/debian/control index 788d7ba3f..0b33c371a 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: lvm2 Section: admin Priority: optional Maintainer: Andres Salomon -Build-Depends: debhelper (>> 3.0.0), libdevmapper-dev, libreadline4-dev +Build-Depends: debhelper (>> 3.0.0), libdevmapper-dev (>= 0.96.04), libreadline4-dev Standards-Version: 3.5.2 Package: lvm2 diff --git a/debian/init.d b/debian/init.d index ad8fbca21..9683301c5 100644 --- a/debian/init.d +++ b/debian/init.d @@ -14,7 +14,7 @@ modprobe dm-mod >/dev/null 2>&1 # Create necessary files in /dev for device-mapper create_devfiles() { - DIR="/dev/device-mapper" + DIR="/dev/mapper" FILE="$DIR/control" major=$(grep "[0-9] misc$" /proc/devices | sed 's/[ ]\+misc//') minor=$(grep "[0-9] device-mapper$" /proc/misc | sed 's/[ ]\+device-mapper//') @@ -33,6 +33,12 @@ case "$1" in echo -n "Initializing $DESC: " create_devfiles vgchange -a y + +# # Mount all LVM devices +# for vg in $( vgchange -a y 2>/dev/null | grep active | awk -F\" '{print $2}' ); do +# MTPT=$( grep $vg /etc/fstab | awk '{print $2}' ) +# mount $MTPT +# done echo "$NAME." ;; stop)