linuxrc: part keyword

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>
cleanup-cruft
Robin H. Johnson 12 years ago
parent 30c7284c92
commit 32a9b007bf

@ -156,6 +156,9 @@ do
part=*) part=*)
MDPART=${x#*=} MDPART=${x#*=}
;; ;;
part|partitionable)
MDPART=1
;;
# NFS # NFS
ip=*) ip=*)
IP=${x#*=} IP=${x#*=}

@ -520,12 +520,10 @@ which the ramdisk scripts would recognize.
*console*=<...>:: *console*=<...>::
Override location of console, default is "/dev/console". Override location of console, default is "/dev/console".
*part*=<...>:: *part*[=<0,1>]::
Specify part for mdadm to start. This is the relevant code in mdstart: *partitionable*::
------------------------------------------ Enable/Disable partitionable RAIDs (metadata 0.x) during auto-run.
fd = open("/dev/md<MD_NUMBER>", 0, 0); Standalone *part* and *partitionable* keywords for kernel compatability.
ioctl(fd, RAID_AUTORUN, <MDPART>);
------------------------------------------
*iscsi_initiatorname*=<...>:: *iscsi_initiatorname*=<...>::
*iscsi_target*=<...>:: *iscsi_target*=<...>::

Loading…
Cancel
Save