1 |
commit: 32a9b007bf24be899272a782a9f33d007b1e3c07 |
2 |
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 20 00:47:38 2012 +0000 |
4 |
Commit: Richard Yao <ryao <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 20 00:58:55 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commit;h=32a9b007 |
7 |
|
8 |
linuxrc: part keyword |
9 |
|
10 |
Clean up documentation and functionality of "part" argument to |
11 |
initramfs. It is meant to imitate the same option to the kernel. |
12 |
|
13 |
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org> |
14 |
|
15 |
--- |
16 |
defaults/linuxrc | 3 +++ |
17 |
doc/genkernel.8.txt | 10 ++++------ |
18 |
2 files changed, 7 insertions(+), 6 deletions(-) |
19 |
|
20 |
diff --git a/defaults/linuxrc b/defaults/linuxrc |
21 |
index 1bc09a7..4166396 100755 |
22 |
--- a/defaults/linuxrc |
23 |
+++ b/defaults/linuxrc |
24 |
@@ -156,6 +156,9 @@ do |
25 |
part=*) |
26 |
MDPART=${x#*=} |
27 |
;; |
28 |
+ part|partitionable) |
29 |
+ MDPART=1 |
30 |
+ ;; |
31 |
# NFS |
32 |
ip=*) |
33 |
IP=${x#*=} |
34 |
|
35 |
diff --git a/doc/genkernel.8.txt b/doc/genkernel.8.txt |
36 |
index dc04240..4691a98 100644 |
37 |
--- a/doc/genkernel.8.txt |
38 |
+++ b/doc/genkernel.8.txt |
39 |
@@ -520,12 +520,10 @@ which the ramdisk scripts would recognize. |
40 |
*console*=<...>:: |
41 |
Override location of console, default is "/dev/console". |
42 |
|
43 |
-*part*=<...>:: |
44 |
- Specify part for mdadm to start. This is the relevant code in mdstart: |
45 |
------------------------------------------- |
46 |
- fd = open("/dev/md<MD_NUMBER>", 0, 0); |
47 |
- ioctl(fd, RAID_AUTORUN, <MDPART>); |
48 |
------------------------------------------- |
49 |
+*part*[=<0,1>]:: |
50 |
+*partitionable*:: |
51 |
+ Enable/Disable partitionable RAIDs (metadata 0.x) during auto-run. |
52 |
+ Standalone *part* and *partitionable* keywords for kernel compatability. |
53 |
|
54 |
*iscsi_initiatorname*=<...>:: |
55 |
*iscsi_target*=<...>:: |