platform/upstream/dracut.git
14 years agoImplement extended iscsi: rfc4173 syntax which allows specifying credentials
Hans de Goede [Fri, 31 Jul 2009 08:31:16 +0000 (10:31 +0200)]
Implement extended iscsi: rfc4173 syntax which allows specifying credentials

As discussed before, it would be nice to be able to specify
the iscsi chap credentials inside the netroot=iscsi:.....
syntax, this patch implements this in a backwards compatible way, like
this:
iscsi:username:pass@127.0.0.1::3260::iqn.2009-01.com.example:testdisk
iscsi:username:pass:reverse:pass@127.0.0.1::3260::iqn.2009-01.com.example:test

The only downside is that the backwards compatibility is broken when there
is an @ in the iscsi target name (very unlikely), that can still be used,
but only like this:
iscsi:@192.168.1.100::3260::iqn.2009-01.com.example:testdi@sk

14 years ago40network/installkernel: do not install isdn and uwb modules
Harald Hoyer [Fri, 31 Jul 2009 10:39:23 +0000 (12:39 +0200)]
40network/installkernel: do not install isdn and uwb modules

14 years ago90kernel-modules/installkernel: do not install fs/ocfs2 filesystems
Harald Hoyer [Fri, 31 Jul 2009 10:38:34 +0000 (12:38 +0200)]
90kernel-modules/installkernel: do not install fs/ocfs2 filesystems

14 years agonfs: only install libnss_*.so which are used by nsswitch.conf
Harald Hoyer [Fri, 31 Jul 2009 10:37:50 +0000 (12:37 +0200)]
nfs: only install libnss_*.so which are used by nsswitch.conf

14 years agodracut.spec: removed duplicate requirements
Harald Hoyer [Fri, 31 Jul 2009 10:37:22 +0000 (12:37 +0200)]
dracut.spec: removed duplicate requirements

14 years agokernel-modules: add modules for virtio devices
Harald Hoyer [Thu, 30 Jul 2009 15:05:49 +0000 (17:05 +0200)]
kernel-modules: add modules for virtio devices

14 years agoiscsi: manually load the iscsi_ibft kernel module
Harald Hoyer [Thu, 30 Jul 2009 15:12:08 +0000 (17:12 +0200)]
iscsi: manually load the iscsi_ibft kernel module

14 years agoiscsi: install iscsi_ibft kernel module
Harald Hoyer [Thu, 30 Jul 2009 14:57:30 +0000 (16:57 +0200)]
iscsi: install iscsi_ibft kernel module

14 years agoiscsiroot: fixed udev rules for iscsi_firmware
Harald Hoyer [Thu, 30 Jul 2009 14:14:09 +0000 (16:14 +0200)]
iscsiroot: fixed udev rules for iscsi_firmware

14 years agodracut.spec: no more switch_root for >= F12 and Require "which"
Harald Hoyer [Thu, 30 Jul 2009 14:11:52 +0000 (16:11 +0200)]
dracut.spec: no more switch_root for >= F12 and Require "which"

14 years agoadd udev rules for iscsi_firmware
Harald Hoyer [Thu, 30 Jul 2009 14:11:11 +0000 (16:11 +0200)]
add udev rules for iscsi_firmware

14 years agoThere is only one resolv.conf.
Warren Togami [Thu, 30 Jul 2009 13:27:09 +0000 (09:27 -0400)]
There is only one resolv.conf.

14 years agoMark the other ifcfg file when bridges are used.
Warren Togami [Wed, 29 Jul 2009 20:54:53 +0000 (16:54 -0400)]
Mark the other ifcfg file when bridges are used.

14 years agoNeed some way of differentiating these interfaces as being netboot.
Warren Togami [Wed, 29 Jul 2009 18:07:08 +0000 (14:07 -0400)]
Need some way of differentiating these interfaces as being netboot.

14 years agogetarg()/getargs(): check existance of /etc/cmdline before reading it
Harald Hoyer [Tue, 28 Jul 2009 16:27:37 +0000 (18:27 +0200)]
getarg()/getargs(): check existance of /etc/cmdline before reading it

14 years agoUse standard ifcfg filenames, put them into an ifcfg directory.
Warren Togami [Mon, 27 Jul 2009 19:54:21 +0000 (15:54 -0400)]
Use standard ifcfg filenames, put them into an ifcfg directory.

14 years ago--strip requires file
Warren Togami [Mon, 27 Jul 2009 17:16:51 +0000 (13:16 -0400)]
--strip requires file

14 years agoversion 0.7 0.7
Harald Hoyer [Fri, 24 Jul 2009 11:15:43 +0000 (13:15 +0200)]
version 0.7

14 years agostrip binaries in initramfs
Harald Hoyer [Fri, 24 Jul 2009 13:48:20 +0000 (15:48 +0200)]
strip binaries in initramfs

       --strip
              strip binaries in the initramfs (default)

       --nostrip
              do not strip binaries in the initramfs

14 years agodracut/dracut-gencmdline: fixed copyright header
Harald Hoyer [Fri, 24 Jul 2009 13:12:47 +0000 (15:12 +0200)]
dracut/dracut-gencmdline: fixed copyright header

14 years agoadd dracut-catimages
Harald Hoyer [Fri, 24 Jul 2009 11:14:52 +0000 (13:14 +0200)]
add dracut-catimages

Usage: ./dracut-catimages [OPTION]... <initramfs> <base image>
[<image>...]
Creates initial ramdisk image by concatenating several images from the
command
line and /boot/dracut/

  -f, --force           Overwrite existing initramfs file.
  -i, --imagedir        Directory with additional images to add
                        (default: /boot/dracut/)
  -o, --overlaydir      Overlay directory, which contains files that
                        will be used to create an additional image
  --nooverlay           Do not use the overlay directory
  --noimagedir          Do not use the additional image directory
  -h, --help            This message
  --debug               Output debug information of the build process
  -v, --verbose         Verbose output during the build process

14 years agodracut-lib: getarg(), getargs() read command line also from /etc/cmdline
Harald Hoyer [Fri, 24 Jul 2009 11:42:10 +0000 (13:42 +0200)]
dracut-lib: getarg(), getargs() read command line also from /etc/cmdline

Also honor parameters in /etc/cmdline.

getarg(): If the argument is first fround in /proc/cmdline, then it is
used

14 years agoadd source_conf for static configuration variables
Harald Hoyer [Fri, 24 Jul 2009 11:10:55 +0000 (13:10 +0200)]
add source_conf for static configuration variables

source_conf sources all *.conf files of a directory

init will now source all /etc/conf.d/*.conf files

14 years agodracut: usage(): break line for 80 chars
Harald Hoyer [Fri, 24 Jul 2009 11:09:57 +0000 (13:09 +0200)]
dracut: usage(): break line for 80 chars

14 years agoWith NFS root, it is possible /tmp/net.ifaces might not exist during pre-pivot.
Warren Togami [Fri, 24 Jul 2009 19:26:33 +0000 (15:26 -0400)]
With NFS root, it is possible /tmp/net.ifaces might not exist during pre-pivot.
- udevadm settle will wait for it if necessary.
- Move write-ifcfg.sh later during pre-pivot to reduce likelihood of settling being necessary.

14 years agodracut.8: correct manpage entry for ip=
Harald Hoyer [Fri, 24 Jul 2009 10:06:12 +0000 (12:06 +0200)]
dracut.8: correct manpage entry for ip=

14 years agodracut.8: corrections of parameters and fixed typos
Harald Hoyer [Fri, 24 Jul 2009 09:52:15 +0000 (11:52 +0200)]
dracut.8: corrections of parameters and fixed typos

14 years agoremoved all direct references to /proc/cmdline
Harald Hoyer [Fri, 24 Jul 2009 08:42:39 +0000 (10:42 +0200)]
removed all direct references to /proc/cmdline

use getarg() and getargs() from /lib/dracut-lib.sh instead of
reinventing the wheel

14 years agodracut: print help for unknow options
Harald Hoyer [Fri, 24 Jul 2009 08:42:17 +0000 (10:42 +0200)]
dracut: print help for unknow options

14 years ago40network/parse-bridge: add bridge to $initrdargs
Harald Hoyer [Thu, 23 Jul 2009 17:00:48 +0000 (19:00 +0200)]
40network/parse-bridge: add bridge to $initrdargs

14 years agodash compatible substitution
David Dillow [Fri, 24 Jul 2009 03:16:31 +0000 (23:16 -0400)]
dash compatible substitution

14 years agoTurns out this is really a misconfigured DHCP server, apply the same workaround as...
Warren Togami [Thu, 23 Jul 2009 20:22:00 +0000 (16:22 -0400)]
Turns out this is really a misconfigured DHCP server, apply the same workaround as Debian and upstream dhclient-script.

14 years agoFix multiple search domains with proper quoting (thanks dcbw)
Warren Togami [Thu, 23 Jul 2009 18:31:58 +0000 (14:31 -0400)]
Fix multiple search domains with proper quoting (thanks dcbw)
Otherwise \032 appears instead of spaces.

14 years ago99base/init: fix argument stripping
Harald Hoyer [Thu, 23 Jul 2009 16:57:20 +0000 (18:57 +0200)]
99base/init: fix argument stripping

14 years agonfsroot-cleanup: don't try to read from nonexistant /tmp/nfs.rpc_pipefs_path
Harald Hoyer [Thu, 23 Jul 2009 16:27:33 +0000 (18:27 +0200)]
nfsroot-cleanup: don't try to read from nonexistant /tmp/nfs.rpc_pipefs_path

14 years ago40network/check: source dracut-functions over exported variable
Harald Hoyer [Thu, 23 Jul 2009 16:20:11 +0000 (18:20 +0200)]
40network/check: source dracut-functions over exported variable

15 years agouse a variable to hold the regex
Michael Ploujnikov [Mon, 8 Jun 2009 15:17:29 +0000 (11:17 -0400)]
use a variable to hold the regex

single quote regexps in variables to make it work with bash-3.1

15 years agofix spelling use the modules.d directory name
Michael Ploujnikov [Wed, 3 Jun 2009 13:16:44 +0000 (09:16 -0400)]
fix spelling use the modules.d directory name

15 years agonfsroot-cleanup: make /var/lib/nfs/rpc_pipefs path configurable
Marc Grimme [Thu, 23 Jul 2009 10:19:54 +0000 (12:19 +0200)]
nfsroot-cleanup: make /var/lib/nfs/rpc_pipefs path configurable

/tmp/nfs.rpc_pipefs_path can contain the path where
/var/lib/nfs/rpc_pipefs will be moved before switch_root.

This is useful if /var is a separate partition in the real root.

15 years ago95debug: optionally install the debug tools
Marc Grimme [Thu, 23 Jul 2009 10:19:17 +0000 (12:19 +0200)]
95debug: optionally install the debug tools

15 years ago40network/check: output which binary is missing for the network module
Marc Grimme [Thu, 23 Jul 2009 10:17:57 +0000 (12:17 +0200)]
40network/check: output which binary is missing for the network module

15 years agodracut_install: add "-o" option
Marc Grimme [Thu, 23 Jul 2009 10:15:54 +0000 (12:15 +0200)]
dracut_install: add "-o" option

Calling dracut_install will optionally install the file. This is useful
for the debug module.

15 years agodmraid/mdraid: only try to delete partition 1-1024
Harald Hoyer [Thu, 23 Jul 2009 09:58:24 +0000 (11:58 +0200)]
dmraid/mdraid: only try to delete partition 1-1024

add "--nr 1-1024" to partx, otherwise partx will try to delete
partitions 1-INT_MAX, which takes a long time.

15 years ago95s390: add support to boot from s390 dasds
Harald Hoyer [Wed, 22 Jul 2009 14:34:12 +0000 (16:34 +0200)]
95s390: add support to boot from s390 dasds

command line parameter:

DASD
       dasd=....
              same syntax as the kernel module parameter (s390 only)

15 years agoversion 0.6 0.6
Harald Hoyer [Tue, 21 Jul 2009 15:38:41 +0000 (17:38 +0200)]
version 0.6

15 years agodracut: add --kernel-only and --no-kernel arguments
Harald Hoyer [Wed, 22 Jul 2009 10:43:26 +0000 (12:43 +0200)]
dracut: add --kernel-only and --no-kernel arguments

       --kernel-only
              only install kernel drivers and firmware files

       --no-kernel
              do not install kernel drivers and firmware files

All kernel module related install commands moved from "install"
to "installkernel".

For "--kernel-only" all installkernel scripts of the specified
modules are used, regardless of any checks, so that all modules
which might be needed by any dracut generic image are in.

The basic idea is to create two images. One image with the kernel
modules and one without. So if the kernel changes, you only have
to replace one image.

Grub and the kernel can handle multiple images, so grub entry can
look like this:

title Fedora (2.6.29.5-191.fc11.i586)
        root (hd0,0)
        kernel /vmlinuz-2.6.29.5-191.fc11.i586 ro rhgb quiet
        initrd /initrd-20090722.img
        initrd /initrd-kernel-2.6.29.5-191.fc11.i586.img
        initrd /initrd-config.img

initrd-20090722.img
  the image provided by the initrd rpm
  one old backup version is kept like with the kernel

initrd-kernel-2.6.29.5-191.fc11.i586.img
  the image provided by the kernel rpm

initrd-config.img
  optional image with local configuration files

15 years agofix kernel modules dir handling
Harald Hoyer [Tue, 21 Jul 2009 16:26:12 +0000 (18:26 +0200)]
fix kernel modules dir handling

15 years agodracut.spec: generic requires bridge-utils for brctl
Harald Hoyer [Tue, 21 Jul 2009 16:10:34 +0000 (18:10 +0200)]
dracut.spec: generic requires bridge-utils for brctl

15 years agoadd --fwdir parameter to dracut
Harald Hoyer [Tue, 21 Jul 2009 15:49:17 +0000 (17:49 +0200)]
add --fwdir parameter to dracut

        --fwdir [DIR]
              specify additional directory, where to look for firmwares

15 years agodo not BuildRequire kernel-firmware for dracut-generic
Harald Hoyer [Tue, 21 Jul 2009 15:39:19 +0000 (17:39 +0200)]
do not BuildRequire kernel-firmware for dracut-generic

15 years agouse kernel module directory specified on command line in modules also
Harald Hoyer [Tue, 21 Jul 2009 15:37:41 +0000 (17:37 +0200)]
use kernel module directory specified on command line in modules also

15 years agodracut: add --kmoddir directory, where to look for kernel modules
Harald Hoyer [Tue, 21 Jul 2009 15:25:12 +0000 (17:25 +0200)]
dracut: add --kmoddir directory, where to look for kernel modules

       -k, --kmoddir [DIR]
              specify the directory, where to look for kernel modules

15 years agodracut-gencmdline: output root device and plymouth theme
Harald Hoyer [Tue, 21 Jul 2009 15:23:26 +0000 (17:23 +0200)]
dracut-gencmdline: output root device and plymouth theme

15 years agomdraid: first remove the partitions, then add to the md raid
Harald Hoyer [Tue, 21 Jul 2009 13:40:11 +0000 (15:40 +0200)]
mdraid: first remove the partitions, then add to the md raid

15 years agodmraid/mdraid: use ENV{DEVTYPE} instead of ATTR{partition}
Harald Hoyer [Tue, 21 Jul 2009 13:01:41 +0000 (15:01 +0200)]
dmraid/mdraid: use ENV{DEVTYPE} instead of ATTR{partition}

15 years agoredhat-i18n: export LANG
Harald Hoyer [Tue, 21 Jul 2009 09:53:56 +0000 (11:53 +0200)]
redhat-i18n: export LANG

15 years agodmraid/mdraid: install "partx"
Harald Hoyer [Tue, 21 Jul 2009 09:31:15 +0000 (11:31 +0200)]
dmraid/mdraid: install "partx"

15 years agoplymouth: also trigger dri subsystem
Harald Hoyer [Tue, 21 Jul 2009 09:30:40 +0000 (11:30 +0200)]
plymouth: also trigger dri subsystem

15 years agomanpage: add docu for rd_NO_MDIMSM
Harald Hoyer [Fri, 17 Jul 2009 14:04:13 +0000 (16:04 +0200)]
manpage: add docu for rd_NO_MDIMSM

15 years agoMakefile: make clean before rpm 0.5
Harald Hoyer [Fri, 17 Jul 2009 13:59:36 +0000 (15:59 +0200)]
Makefile: make clean before rpm

15 years agoversion 0.5
Harald Hoyer [Fri, 17 Jul 2009 13:40:08 +0000 (15:40 +0200)]
version 0.5

15 years agodracut-gencmdline - generate the kernel command line for the local host
Harald Hoyer [Fri, 17 Jul 2009 13:38:25 +0000 (15:38 +0200)]
dracut-gencmdline - generate the kernel command line for the local host

15 years agonfs: do not install whole passwd, grep for rpc user
Harald Hoyer [Fri, 17 Jul 2009 13:03:51 +0000 (15:03 +0200)]
nfs: do not install whole passwd, grep for rpc user

15 years agolvm: output info on rd_NO_LVM
Harald Hoyer [Fri, 17 Jul 2009 13:03:30 +0000 (15:03 +0200)]
lvm: output info on rd_NO_LVM

15 years agolvm: install lvm.conf in hostonly mode
Harald Hoyer [Fri, 17 Jul 2009 13:02:19 +0000 (15:02 +0200)]
lvm: install lvm.conf in hostonly mode

15 years agomdraid: do not handle isw_raid_member if rd_NO_MDIMSM is set in udev ENV
Harald Hoyer [Fri, 17 Jul 2009 13:01:08 +0000 (15:01 +0200)]
mdraid: do not handle isw_raid_member if rd_NO_MDIMSM is set in udev ENV

install md-noimsm.sh if mdadm does not support imsm.

15 years agomdraid: only install mdadm.conf in hostonly mode
Harald Hoyer [Fri, 17 Jul 2009 13:00:07 +0000 (15:00 +0200)]
mdraid: only install mdadm.conf in hostonly mode

15 years agomdraid: do not install passwd/group
Harald Hoyer [Fri, 17 Jul 2009 12:59:24 +0000 (14:59 +0200)]
mdraid: do not install passwd/group

15 years agodmraid: handle isw_raid_member if rd_NO_MDIMSM is set in udev ENV
Harald Hoyer [Fri, 17 Jul 2009 12:57:31 +0000 (14:57 +0200)]
dmraid: handle isw_raid_member if rd_NO_MDIMSM is set in udev ENV

15 years agodmraid: redirect error to vinfo
Harald Hoyer [Fri, 17 Jul 2009 12:56:06 +0000 (14:56 +0200)]
dmraid: redirect error to vinfo

15 years agooutput info on rd_NO_DM
Harald Hoyer [Fri, 17 Jul 2009 12:55:37 +0000 (14:55 +0200)]
output info on rd_NO_DM

15 years agocrypt: output info, on rd_NO_LUKS handling
Harald Hoyer [Fri, 17 Jul 2009 12:54:25 +0000 (14:54 +0200)]
crypt: output info, on rd_NO_LUKS handling

15 years agoplymouth: install all themes and make them selectable by command line
Harald Hoyer [Fri, 17 Jul 2009 12:52:53 +0000 (14:52 +0200)]
plymouth: install all themes and make them selectable by command line

Bootsplash - plymouth
       rd_plytheme=<theme name>
              specify the plymouth bootsplash theme (fallback is text)

15 years agoinit: add "pre-trigger" and "initqueue" breakpoints
Harald Hoyer [Fri, 17 Jul 2009 12:47:49 +0000 (14:47 +0200)]
init: add "pre-trigger" and "initqueue" breakpoints

15 years agoplymouth: removed console_init call
Harald Hoyer [Fri, 17 Jul 2009 08:17:28 +0000 (10:17 +0200)]
plymouth: removed console_init call

/lib/udev/console_init should be called from the udev rules already

15 years agodmraid.sh: activate all dmraids, if no rd_DM_UUID is specified
Harald Hoyer [Fri, 17 Jul 2009 08:16:46 +0000 (10:16 +0200)]
dmraid.sh: activate all dmraids, if no rd_DM_UUID is specified

15 years agodmraid.rules: cleanup
Harald Hoyer [Fri, 17 Jul 2009 08:16:16 +0000 (10:16 +0200)]
dmraid.rules: cleanup

15 years agolvm_scan: do not overwrite a preexisting /etc/lvm/lvm.conf
Harald Hoyer [Fri, 17 Jul 2009 08:13:33 +0000 (10:13 +0200)]
lvm_scan: do not overwrite a preexisting /etc/lvm/lvm.conf

15 years agodracut-lib: fixed quiet argument parsing
Harald Hoyer [Fri, 17 Jul 2009 08:13:01 +0000 (10:13 +0200)]
dracut-lib: fixed quiet argument parsing

15 years agodracut-lib: output warn() and die() to stderr
Harald Hoyer [Fri, 17 Jul 2009 08:11:57 +0000 (10:11 +0200)]
dracut-lib: output warn() and die() to stderr

15 years agoBridged network boot
Warren Togami [Thu, 16 Jul 2009 20:58:19 +0000 (16:58 -0400)]
Bridged network boot

* SYNTAX
bridge=<bridgename>:<ethname>
If bridge without parameters, assume bridge=br0:eth0
* When <ethname> would be configured by network scripts, instead create a bridge named <bridgename> then add <ethname> to that bridge.
* Then $netif becomes <bridgename> instead of <ethname> and all existing scripts process netroot mount via this new $netif instead of <ethname>.
* Include a few test cases in NFS and NBD

15 years agoRemove 63-luks.rules, it is no longer used
Warren Togami [Thu, 16 Jul 2009 13:34:07 +0000 (09:34 -0400)]
Remove 63-luks.rules, it is no longer used

15 years agoMore informative failure messages or rdbreak.
Warren Togami [Thu, 16 Jul 2009 01:10:16 +0000 (21:10 -0400)]
More informative failure messages or rdbreak.

15 years agoStandardize boot failed language.
Warren Togami [Wed, 15 Jul 2009 20:42:34 +0000 (16:42 -0400)]
Standardize boot failed language.

15 years agodracut-lib: if "quiet" is specified, do not print info() to console
Harald Hoyer [Wed, 15 Jul 2009 16:40:56 +0000 (18:40 +0200)]
dracut-lib: if "quiet" is specified, do not print info() to console

15 years agoinstall all /lib/kbd to initramfs, if not host only
Harald Hoyer [Wed, 15 Jul 2009 07:09:26 +0000 (09:09 +0200)]
install all /lib/kbd to initramfs, if not host only

KEYBOARDTYPE=sun|pc
   will be written to /etc/sysconfig/keyboard in the initramfs

KEYTABLE=<keytable file>
   will be written to /etc/sysconfig/keyboard in the initramfs

SYSFONT= Console font
   will be written to /etc/sysconfig/i18n in the initramfs

SYSFONTACM= Console map.
   will be written to /etc/sysconfig/i18n in the initramfs

UNIMAP= Unicode font map.
   will be written to /etc/sysconfig/i18n in the initramfs

LANG=<locale>
   will be written to /etc/sysconfig/i18n in the initramfs
   LANG= set locale for all categories, can be any two letter ISO
   language code

15 years agoMakefile: add debug module to the testimage target
Harald Hoyer [Wed, 15 Jul 2009 16:24:53 +0000 (18:24 +0200)]
Makefile: add debug module to the testimage target

15 years agoextend TEST-12-RAID-DEG to check for UUID command line parameters
Harald Hoyer [Wed, 15 Jul 2009 16:23:17 +0000 (18:23 +0200)]
extend TEST-12-RAID-DEG to check for UUID command line parameters

15 years agoadd command line parameters to specify exact actions for root assembly
Harald Hoyer [Wed, 15 Jul 2009 16:21:10 +0000 (18:21 +0200)]
add command line parameters to specify exact actions for root assembly

LVM
       rd_NO_LVM
              disable LVM detection

       rd_LVM_VG=<volume group name>
              only activate the volume groups with the given name

crypto LUKS
       rd_NO_LUKS
              disable crypto LUKS detection

       rd_LUKS_UUID=<luks uuid>
              only activate the LUKS partitions with the given UUID

MD
       rd_NO_MD
              disable MD RAID detection

       rd_MD_UUID=<md uuid>
              only activate the raid sets with the given UUID

DMRAID
       rd_NO_DM
              disable DM RAID detection

       rd_DM_UUID=<dmraid uuid>
              only activate the raid sets with the given UUID

15 years agoFix lvm on top of dmraid
Hans de Goede [Tue, 14 Jul 2009 20:24:41 +0000 (22:24 +0200)]
Fix lvm on top of dmraid

The lvm rules were failing to identify PV's on mdraid because
blkid/vol_id has not been run on md raidsets by previous rules.

15 years agoadd info() and vinfo() to dracut-lib
Harald Hoyer [Wed, 15 Jul 2009 07:56:37 +0000 (09:56 +0200)]
add info() and vinfo() to dracut-lib

- corrected the loglevel for warn()
- prepended with "dracut: " for kmesg to seperate from kernel messages

you can pipe to vinfo() for informational messages

15 years agoremove partitions from raid devices before they are used for something
Harald Hoyer [Wed, 15 Jul 2009 07:42:28 +0000 (09:42 +0200)]
remove partitions from raid devices before they are used for something
else

15 years agolimit the devices for which lvm vgscan will scan
Harald Hoyer [Wed, 15 Jul 2009 07:33:44 +0000 (09:33 +0200)]
limit the devices for which lvm vgscan will scan

Build the filter list and create /etc/lvm/lvm.conf for all LVM_member
devices found by udev.

15 years agochange the way init arguments are stripped from the command line
Harald Hoyer [Wed, 15 Jul 2009 07:06:13 +0000 (09:06 +0200)]
change the way init arguments are stripped from the command line

$initrdargs now holds all command line options we want to strip from the
command line. Command line parsers can extend this space separated list.

15 years agodmraid.rules changed comment in header
Harald Hoyer [Wed, 15 Jul 2009 07:03:46 +0000 (09:03 +0200)]
dmraid.rules changed comment in header

15 years agoMake Intel BIOS raid use mdraid instead of dmraid when mdadm 3.0 is available
Hans de Goede [Tue, 14 Jul 2009 20:24:42 +0000 (22:24 +0200)]
Make Intel BIOS raid use mdraid instead of dmraid when mdadm 3.0 is available

Intel BIOS raid is being shifted from dmraid to mdraid because mdraid offers
more features. So if an imsm metadata capable mdadm is present use mdraid
instead of dmraid for isw_raid_member's

This patch also adds code to mdraid_start.sh so that the raidsets
inside the imsm containers get started once udev is done probing
(doing this earlier leads to potentially degraded use of the sets and
 an unwanted resync).

15 years ago10redhat-i18n: Fix handling of kbd maps which are a symlink
Hans de Goede [Tue, 14 Jul 2009 12:42:50 +0000 (14:42 +0200)]
10redhat-i18n: Fix handling of kbd maps which are a symlink

Some keyboard maps are symlinks to others, we were not handling this
properly, this patch fixes this.

15 years agodracut-lib add getargs()
Harald Hoyer [Wed, 15 Jul 2009 16:24:01 +0000 (18:24 +0200)]
dracut-lib add getargs()

getargs returns a space seperated list with all values found for a key
on the kernel command line

15 years agoswitch_root: add subroot support
Daniel Drake [Sun, 12 Jul 2009 11:02:43 +0000 (12:02 +0100)]
switch_root: add subroot support

The current switch_root can only switch to a new root that is the root
of a mount point.

This patch adds support for "subroots", where the new root is somewhere
below a mount point. It does this by adding in a few extra steps to
chroot into the subroot after the enclosing partition has been moved
and entered.

This will be used by OLPC, who sort-of have 2 copies of Fedora stored
on a single partition under different directory trees, where the
initramfs decides which one to boot into.

15 years agoadd testsuite for degraded RAID-5 array
Harald Hoyer [Tue, 14 Jul 2009 11:44:38 +0000 (13:44 +0200)]
add testsuite for degraded RAID-5 array