rpms/mdadm/devel mdadm-1.11.0-default-auto.patch, NONE, 1.1 mdassemble.8, NONE, 1.1 mdadm.spec, 1.20, 1.21
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Mon May 16 21:18:36 UTC 2005
Author: dledford
Update of /cvs/dist/rpms/mdadm/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv17366
Modified Files:
mdadm.spec
Added Files:
mdadm-1.11.0-default-auto.patch mdassemble.8
Log Message:
Change the default auto= mode and add an mdassemble man page
mdadm-1.11.0-default-auto.patch:
mdadm.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE mdadm-1.11.0-default-auto.patch ---
--- mdadm-1.11.0/mdadm.c.save 2005-05-16 16:42:10.000000000 -0400
+++ mdadm-1.11.0/mdadm.c 2005-05-16 16:42:14.000000000 -0400
@@ -66,7 +66,7 @@ int main(int argc, char *argv[])
int force = 0;
int test = 0;
int assume_clean = 0;
- int autof = 0; /* -2 means create device based on name:
+ int autof = -2;/* -2 means create device based on name:
* if it ends mdN, then non-partitioned array N
* if it ends dN, then partitions array N
* -1 means create non-partitioned, choose N
--- NEW FILE mdassemble.8 ---
.\" -*- nroff -*-
.TH MDASSEMBLE 8 "" v1.11.0
.SH NAME
mdassemble \- assemble MD devices
.I aka
Linux Software Raid.
.SH SYNOPSIS
.BI mdassemble
.SH DESCRIPTION
.B mdassemble
is a tiny program that can be used to assemble MD devices inside an
initial ramdisk (initrd) or initramfs, it is meant to replace the in-kernel
automatic raid detection and activation.
It can be built statically and linked against lightweight libc alternatives, like
.B dietlibc,
.B klibc
or
.B uClibc.
.SH USAGE
Invoking
.B mdassemble
has the same effect as invoking
.B mdadm --assemble --scan.
.SH OPTIONS
There are no options to
.B mdassemble.
.SH FILES
.SS /etc/mdadm.conf
The config file lists which devices may be scanned to see if
they contain MD super block, and gives identifying information
(e.g. UUID) about known MD arrays. See
.BR mdadm.conf (5)
for more details.
.B mdassemble
supports all configuration parameters defined in
.B mdadm.conf
with the exception of
.B auto=
which is supported only if mdadm was built with the
.B -DMDASSEMBLE_AUTO
define.
.SH SEE ALSO
.PP
.BR mdadm (8),
.BR mdadm.conf (5),
.BR md (4).
.PP
.BR diet (1).
Index: mdadm.spec
===================================================================
RCS file: /cvs/dist/rpms/mdadm/devel/mdadm.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- mdadm.spec 13 May 2005 15:26:33 -0000 1.20
+++ mdadm.spec 16 May 2005 21:18:34 -0000 1.21
@@ -1,14 +1,16 @@
Summary: mdadm controls Linux md devices (software RAID arrays)
Name: mdadm
Version: 1.11.0
-Release: 1.fc4
+Release: 2.fc4
Source: http://www.cse.unsw.edu.au/~neilb/source/mdadm/mdadm-%{version}.tgz
Source1: mdmonitor.init
Source2: mdmpd-0.4.tgz
Source3: mdmpd.init
+Source4: mdassemble.8
Patch: mdadm-1.5.0-email.patch
Patch2: mdadm-1.9.0-s390-build.patch
Patch3: mdadm-1.9.0-static-make.patch
+Patch4: mdadm-1.11.0-default-auto.patch
URL: http://www.cse.unsw.edu.au/~neilb/source/mdadm/
License: GPL
Group: System Environment/Base
@@ -28,6 +30,7 @@
%patch -p1 -b .email
%patch2 -p1 -b .s390
%patch3 -p1 -b .static
+%patch4 -p1 -b .auto
%build
make CXFLAGS="$RPM_OPT_FLAGS" SYSCONFDIR="%{_sysconfdir}" mdadm mdadm.static mdassemble.static
@@ -38,6 +41,7 @@
make DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir} BINDIR=/sbin -C mdmpd install
install -D -m755 %{SOURCE1} $RPM_BUILD_ROOT/%{_initrddir}/mdmonitor
install -D -m755 %{SOURCE3} $RPM_BUILD_ROOT/%{_initrddir}/mdmpd
+install -D -m644 %{SOURCE4} $RPM_BUILD_ROOT/%{_mandir}/man8/mdassemble.8
mkdir -p -m 700 $RPM_BUILD_ROOT/var/run/mdmpd
mkdir -p -m 700 $RPM_BUILD_ROOT/var/run/mdadm
@@ -77,6 +81,14 @@
%attr(0700,root,root) %dir /var/run/mdadm
%changelog
+* Mon May 16 2005 Doug Ledford <dledford at redhat.com>
+- Change the default auto= mode so it need not be on the command line to
+ work with udev, however it is still supported on the command line.
+- Add a man page (from Luca Berra) for mdassemble
+
+* Wed May 11 2005 Doug Ledford <dledford at redhat.com> - 1.11.0-1.fc4
+- Upgrade to 1.11.0
+
* Wed Apr 27 2005 Jeremy Katz <katzj at redhat.com> - 1.9.0-3.fc4
- fix mdmonitor initscript (#144717)
More information about the fedora-cvs-commits
mailing list