* that was moved aside due to the reshape overwriting live data
* The code of doing this lives in Grow.c
*/
+#ifndef MDASSEMBLE
if (info.reshape_active) {
int err = 0;
int *fdlist = malloc(sizeof(int)* bestcnt);
return err;
}
}
+#endif
/* count number of in-sync devices according to the superblock.
* We must have this number to start the array without -s or -R
*/
clean :
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 \
- init.cpio.gz mdadm.uclibc.static
+ init.cpio.gz mdadm.uclibc.static test_stripe
dist : clean
./makedist
#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
ANNOUNCE-2.2
ANNOUNCE-2.3
ANNOUNCE-2.3.1
+ANNOUNCE-2.4-pre1
Assemble.c
Build.c
COPYING
misc/syslog-events
mkinitramfs
raid5extend.c
+restripe.c
super0.c
super1.c
swap_super.c
+sysfs.c
test
tests/
tests/00linear
tests/06r5swap
tests/06sysfs
tests/06wrmostly
+tests/07testreshape5
tests/ToTest
tests/check
tests/testdev
echo mdadm.8 does not mention verion $version.
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.
exit 1
.\" -*- nroff -*-
-.TH MDADM 8 "" v2.3.1
+.TH MDADM 8 "" v2.4-pre1
.SH NAME
mdadm \- manage MD devices
.I aka
Summary: mdadm is used for controlling Linux md devices (aka RAID arrays)
Name: mdadm
-Version: 2.3.1
+Version: 2.4_pre1
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/
License: GPL
Group: Utilities/System
some common tasks).
%prep
-%setup -q
+%setup -q -n mdadm-2.4-pre1
# we want to install in /sbin, not /usr/sbin...
%define _exec_prefix %{nil}
.\" -*- nroff -*-
-.TH MDASSEMBLE 8 "" v2.3.1
+.TH MDASSEMBLE 8 "" v2.4-pre1
.SH NAME
mdassemble \- assemble MD devices
.I aka