linuxrc: part keyword
authorRobin H. Johnson <robbat2@gentoo.org>
Tue, 20 Nov 2012 00:47:38 +0000 (00:47 +0000)
committerRobin H. Johnson <robbat2@gentoo.org>
Tue, 20 Nov 2012 00:58:55 +0000 (00:58 +0000)
Clean up documentation and functionality of "part" argument to
initramfs. It is meant to imitate the same option to the kernel.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
defaults/linuxrc
doc/genkernel.8.txt

index 1bc09a750593bd3cd1ba448919e1b72340ffd934..4166396c481d06b0feddd5bfec97413822b34bef 100755 (executable)
@@ -156,6 +156,9 @@ do
                part=*)
                        MDPART=${x#*=}
                ;;
+               part|partitionable)
+                       MDPART=1
+               ;;
                # NFS
                ip=*)
                        IP=${x#*=}
index dc0424088ae64dfe92da564dc70ab2f4241d8186..4691a98108de0afd71dfe93d82c472c37bc232a5 100644 (file)
@@ -520,12 +520,10 @@ which the ramdisk scripts would recognize.
 *console*=<...>::
     Override location of console, default is "/dev/console".
 
-*part*=<...>::
-    Specify part for mdadm to start.  This is the relevant code in mdstart:
-------------------------------------------
-    fd = open("/dev/md<MD_NUMBER>", 0, 0);
-    ioctl(fd, RAID_AUTORUN, <MDPART>);
-------------------------------------------
+*part*[=<0,1>]::
+*partitionable*::
+       Enable/Disable partitionable RAIDs (metadata 0.x) during auto-run.
+       Standalone *part* and *partitionable* keywords for kernel compatability.
 
 *iscsi_initiatorname*=<...>::
 *iscsi_target*=<...>::