Release 2.4-pre1

Signed-off-by: Neil Brown <neilb@suse.de>
This commit is contained in:
Neil Brown 2006-03-20 03:50:25 +00:00
parent 206c5eaedf
commit 39c5a90983
8 changed files with 16 additions and 8 deletions

View File

@ -568,6 +568,7 @@ int Assemble(struct supertype *st, char *mddev, int mdfd,
* that was moved aside due to the reshape overwriting live data * that was moved aside due to the reshape overwriting live data
* The code of doing this lives in Grow.c * The code of doing this lives in Grow.c
*/ */
#ifndef MDASSEMBLE
if (info.reshape_active) { if (info.reshape_active) {
int err = 0; int err = 0;
int *fdlist = malloc(sizeof(int)* bestcnt); int *fdlist = malloc(sizeof(int)* bestcnt);
@ -595,6 +596,7 @@ int Assemble(struct supertype *st, char *mddev, int mdfd,
return err; return err;
} }
} }
#endif
/* count number of in-sync devices according to the superblock. /* count number of in-sync devices according to the superblock.
* We must have this number to start the array without -s or -R * We must have this number to start the array without -s or -R
*/ */

View File

@ -135,7 +135,7 @@ install : mdadm mdadm.8 md.4 mdadm.conf.5
clean : clean :
rm -f mdadm $(OBJS) core *.man mdadm.tcc mdadm.uclibc mdadm.static *.orig *.porig *.rej *.alt \ rm -f mdadm $(OBJS) core *.man mdadm.tcc mdadm.uclibc mdadm.static *.orig *.porig *.rej *.alt \
mdassemble mdassemble.static mdassemble.uclibc mdassemble.klibc swap_super \ mdassemble mdassemble.static mdassemble.uclibc mdassemble.klibc swap_super \
init.cpio.gz mdadm.uclibc.static init.cpio.gz mdadm.uclibc.static test_stripe
dist : clean dist : clean
./makedist ./makedist

View File

@ -30,7 +30,7 @@
#include "mdadm.h" #include "mdadm.h"
char Version[] = Name " - v2.3.1 - 6 February 2006\n"; char Version[] = Name " - v2.4-pre1 - Not For Production Use - 20 March 2006\n";
/* /*
* File: ReadMe.c * File: ReadMe.c

View File

@ -4,6 +4,7 @@ ANNOUNCE-2.1
ANNOUNCE-2.2 ANNOUNCE-2.2
ANNOUNCE-2.3 ANNOUNCE-2.3
ANNOUNCE-2.3.1 ANNOUNCE-2.3.1
ANNOUNCE-2.4-pre1
Assemble.c Assemble.c
Build.c Build.c
COPYING COPYING
@ -45,9 +46,11 @@ misc/
misc/syslog-events misc/syslog-events
mkinitramfs mkinitramfs
raid5extend.c raid5extend.c
restripe.c
super0.c super0.c
super1.c super1.c
swap_super.c swap_super.c
sysfs.c
test test
tests/ tests/
tests/00linear tests/00linear
@ -87,6 +90,7 @@ tests/06name
tests/06r5swap tests/06r5swap
tests/06sysfs tests/06sysfs
tests/06wrmostly tests/06wrmostly
tests/07testreshape5
tests/ToTest tests/ToTest
tests/check tests/check
tests/testdev tests/testdev

View File

@ -19,7 +19,8 @@ grep "^.TH MDADM 8 .. v$version" mdadm.8 > /dev/null 2>&1 ||
echo mdadm.8 does not mention verion $version. echo mdadm.8 does not mention verion $version.
exit 1 exit 1
} }
grep "^Version: *$version$" mdadm.spec > /dev/null 2>&1 || rpmv=`echo $version | tr - _`
grep "^Version: *$rpmv$" mdadm.spec > /dev/null 2>&1 ||
{ {
echo mdadm.spec does not mention version $version. echo mdadm.spec does not mention version $version.
exit 1 exit 1

View File

@ -1,5 +1,5 @@
.\" -*- nroff -*- .\" -*- nroff -*-
.TH MDADM 8 "" v2.3.1 .TH MDADM 8 "" v2.4-pre1
.SH NAME .SH NAME
mdadm \- manage MD devices mdadm \- manage MD devices
.I aka .I aka

View File

@ -1,8 +1,9 @@
Summary: mdadm is used for controlling Linux md devices (aka RAID arrays) Summary: mdadm is used for controlling Linux md devices (aka RAID arrays)
Name: mdadm Name: mdadm
Version: 2.3.1 Version: 2.4_pre1
Release: 1 Release: 1
Source: http://www.cse.unsw.edu.au/~neilb/source/mdadm/mdadm-%{version}.tgz #Source: http://www.cse.unsw.edu.au/~neilb/source/mdadm/mdadm-%{version}.tgz
Source: http://www.cse.unsw.edu.au/~neilb/source/mdadm/mdadm-2.4-pre1.tgz
URL: http://www.cse.unsw.edu.au/~neilb/source/mdadm/ URL: http://www.cse.unsw.edu.au/~neilb/source/mdadm/
License: GPL License: GPL
Group: Utilities/System Group: Utilities/System
@ -19,7 +20,7 @@ configuration file (that a config file can be used to help with
some common tasks). some common tasks).
%prep %prep
%setup -q %setup -q -n mdadm-2.4-pre1
# we want to install in /sbin, not /usr/sbin... # we want to install in /sbin, not /usr/sbin...
%define _exec_prefix %{nil} %define _exec_prefix %{nil}

View File

@ -1,5 +1,5 @@
.\" -*- nroff -*- .\" -*- nroff -*-
.TH MDASSEMBLE 8 "" v2.3.1 .TH MDASSEMBLE 8 "" v2.4-pre1
.SH NAME .SH NAME
mdassemble \- assemble MD devices mdassemble \- assemble MD devices
.I aka .I aka