summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2005-06-14 00:55:05 +0000
committerNeil Brown <neilb@suse.de>2005-06-14 00:55:05 +0000
commit389c403df31b1f63360478e85553bca29439d363 (patch)
tree8b3393ef4f0cb38b6ef39f7e4fcb7ea6a51002e1
parent8fd94e35a65a4f434d49e94361c24a650dc6819e (diff)
downloadmdadm-389c403df31b1f63360478e85553bca29439d363.tar.gz
mdadm-389c403df31b1f63360478e85553bca29439d363.tar.xz
mdadm-389c403df31b1f63360478e85553bca29439d363.zip
Add man page for mdassemble
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
-rw-r--r--ChangeLog1
-rw-r--r--Makefile5
-rw-r--r--mdassemble.859
3 files changed, 64 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3ce1b6f..0e1f61d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -26,6 +26,7 @@ Changes Prior to 1.12.0 release
add them to the list of known device name, so that
assembling stacked devices has a better chance of working.
- Replace sprintf calls with snprintf (to quiet diet-libc)
+ - Add man page for mdassemble
Changes Prior to 1.11.0 release
- Fix embarassing bug which causes --add to always fail.
diff --git a/Makefile b/Makefile
index 8f0547b..aca9b40 100644
--- a/Makefile
+++ b/Makefile
@@ -69,7 +69,7 @@ endif
all : mdadm mdadm.man md.man mdadm.conf.man
-everything: all mdadm.static mdadm.tcc mdadm.uclibc
+everything: all mdadm.static mdadm.tcc mdadm.uclibc mdassemble mdassemble.uclibc mdassemble.static mdassemble.man
mdadm : $(OBJS)
$(CC) $(LDFLAGS) -o mdadm $^
@@ -113,6 +113,9 @@ md.man : md.4
mdadm.conf.man : mdadm.conf.5
nroff -man mdadm.conf.5 > mdadm.conf.man
+mdassemble.man : mdassemble.8
+ nroff -man mdassemble.8 > mdassemble.man
+
$(OBJS) : mdadm.h
install : mdadm mdadm.8 md.4 mdadm.conf.5
diff --git a/mdassemble.8 b/mdassemble.8
new file mode 100644
index 0000000..f003196
--- /dev/null
+++ b/mdassemble.8
@@ -0,0 +1,59 @@
+.\" -*- 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).