dcavalca / rpms / mdadm

Forked from rpms/mdadm 3 years ago
Clone

Blame SOURCES/mdassemble-Kill-off-the-last-remains.patch

2c1b57
From 935795398d52a589598fa13e6cb6272619c5d134 Mon Sep 17 00:00:00 2001
2c1b57
From: Jes Sorensen <jsorensen@fb.com>
2c1b57
Date: Thu, 4 May 2017 11:57:41 -0400
2c1b57
Subject: [RHEL7.5 PATCH 108/169] mdassemble: Kill off the last remains
2c1b57
2c1b57
Having gotten rid of mdassemble, lets get rid of the man page too
2c1b57
2c1b57
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
2c1b57
---
2c1b57
 README.initramfs |  9 ++++----
2c1b57
 mdassemble.8     | 65 --------------------------------------------------------
2c1b57
 2 files changed, 4 insertions(+), 70 deletions(-)
2c1b57
 delete mode 100644 mdassemble.8
2c1b57
2c1b57
diff --git a/README.initramfs b/README.initramfs
2c1b57
index 8f9b8dd..c5fa668 100644
2c1b57
--- a/README.initramfs
2c1b57
+++ b/README.initramfs
2c1b57
@@ -16,11 +16,10 @@ devices.
2c1b57
 
2c1b57
 These mechanisms, while useful, do not provide complete functionality
2c1b57
 and are unlikely to be extended.  The preferred way to assemble md
2c1b57
-arrays at boot time is using 'mdadm' or 'mdassemble' (which is a
2c1b57
-trimmed-down mdadm).  To assemble an array which contains the root
2c1b57
-filesystem, mdadm needs to be run before that filesystem is mounted,
2c1b57
-and so needs to be run from an initial-ram-fs.  It is how this can
2c1b57
-work that is the primary focus of this document.
2c1b57
+arrays at boot time is using 'mdadm'.  To assemble an array which
2c1b57
+contains the root filesystem, mdadm needs to be run before that
2c1b57
+filesystem is mounted, and so needs to be run from an initial-ram-fs.
2c1b57
+It is how this can work that is the primary focus of this document.
2c1b57
 
2c1b57
 It should be noted up front that only the array containing the root
2c1b57
 filesystem should be assembled from the initramfs.  Any other arrays
2c1b57
diff --git a/mdassemble.8 b/mdassemble.8
2c1b57
deleted file mode 100644
2c1b57
index 33aa977..0000000
2c1b57
--- a/mdassemble.8
2c1b57
+++ /dev/null
2c1b57
@@ -1,65 +0,0 @@
2c1b57
-.\" -*- nroff -*-
2c1b57
-.TH MDASSEMBLE 8 "" v4.0
2c1b57
-.SH NAME
2c1b57
-mdassemble \- assemble MD devices
2c1b57
-.I aka
2c1b57
-Linux Software RAID
2c1b57
-
2c1b57
-.SH SYNOPSIS
2c1b57
-
2c1b57
-.BI mdassemble
2c1b57
-
2c1b57
-.SH DESCRIPTION
2c1b57
-.B mdassemble
2c1b57
-is a tiny program that can be used to assemble MD devices inside an
2c1b57
-initial ramdisk (initrd) or initramfs; it is meant to replace the in-kernel
2c1b57
-automatic RAID detection and activation.
2c1b57
-It can be built statically and linked against lightweight libc alternatives, like
2c1b57
-.B dietlibc,
2c1b57
-.B klibc
2c1b57
-or
2c1b57
-.B uClibc.
2c1b57
-
2c1b57
-.SH USAGE
2c1b57
-Invoking
2c1b57
-.B mdassemble
2c1b57
-has the same effect as invoking
2c1b57
-.B mdadm \-\-assemble \-\-scan.
2c1b57
-.PP
2c1b57
-Invoking
2c1b57
-.B mdassemble
2c1b57
-a second time will make all defined arrays readwrite, this is useful if
2c1b57
-using the
2c1b57
-.B start_ro
2c1b57
-module parameter.
2c1b57
-
2c1b57
-.SH OPTIONS
2c1b57
-
2c1b57
-There are no options to
2c1b57
-.B mdassemble.
2c1b57
-
2c1b57
-.SH FILES
2c1b57
-
2c1b57
-.SS /etc/mdadm.conf
2c1b57
-
2c1b57
-The config file lists which devices may be scanned to see if
2c1b57
-they contain MD super block, and gives identifying information
2c1b57
-(e.g. UUID) about known MD arrays.  See
2c1b57
-.BR mdadm.conf (5)
2c1b57
-for more details.
2c1b57
-
2c1b57
-.B mdassemble
2c1b57
-supports all configuration parameters defined in
2c1b57
-.B mdadm.conf
2c1b57
-with the exception of
2c1b57
-.B auto=
2c1b57
-which is supported only if mdadm was built with the
2c1b57
-.B \-DMDASSEMBLE_AUTO
2c1b57
-define.
2c1b57
-
2c1b57
-.SH SEE ALSO
2c1b57
-.PP
2c1b57
-.BR mdadm (8),
2c1b57
-.BR mdadm.conf (5),
2c1b57
-.BR md (4),
2c1b57
-.BR diet (1).
2c1b57
-- 
2c1b57
2.7.4
2c1b57