Mike Snitzer [Wed, 13 Jan 2010 15:27:49 +0000 (16:27 +0100)]
lvm: lvm.conf (locking_type = 4)
- the use of sed is placeholder "hack" until lvm2 provides a proper
tool for changing lvm.conf
- lvm_scan.sh should run lvm commands with --ignorelockingfailure to
re-use lvm's existing initrd-specific logic; future lvm2 changes
will split this flag out into various new command-line switches
- no monitoring should be started from within initramfs
- NOTE: the same should apply to 90dmraid/install
- the correct types would be: '[ "blkext", 1 , "cciss0", 16 ]'
but lvm2 (>= 2.02.52) already properly supports both 'blkext' and
'cciss' (including cciss0 -> cciss7)
Andrey Borzenkov [Wed, 13 Jan 2010 15:07:13 +0000 (16:07 +0100)]
Add user suspend support
This patch adds support for user mode suspend to disk. It is installed
in parallel to kernel mode suspend module; either will fail if
system was not suspended using correct tool so next one can be tried.
Luca Berra [Sat, 9 Jan 2010 08:39:22 +0000 (09:39 +0100)]
Ensure UNICODE keyboard layout is functional in emergency shell
/lib/udev/cosole_init will load either non-unicode or unicode versions
of keyboard layout for the same value of KEYMAP depending on language
setting. The simplest solution is to install both versions in initrd;
it does not take much space.
While on it, copy some additional maps to ensure emergency shell
has the same keyboard layout as full system.
Luca Berra [Wed, 13 Jan 2010 15:02:10 +0000 (16:02 +0100)]
dracut-functions: add additional drivers in host-only mode, too
this makes dracut load kernel module specified in add-drivers even
if building an host-only mkinitrd, it is useful in cases where we
might change some storage drivers and still don't want to build
an enormous initrd (e.g. ahci/ata_piix)
Luca Berra [Wed, 13 Jan 2010 15:01:36 +0000 (16:01 +0100)]
base: improve emergency shell
for some unknown reason the emergency shell
starts with stderr closed, at first I even tought it was not working at
all, then I came up with this hack, which seems to work properly. I also
change the prompt to remind which step are we breaking to.
Philippe Seewer [Fri, 27 Nov 2009 13:46:31 +0000 (14:46 +0100)]
Debian support: Add necessary control files for packaging
This patch adds all necessary files to build dracut debian packages.
- I've split dracut into two parts: The dracut package for booting from block
devices and dracut-net for netroot.
- I've deliberately left out all redhat specific modules, they do not make any
sense on debian at all
Philippe Seewer [Fri, 27 Nov 2009 10:57:16 +0000 (11:57 +0100)]
Fix manpage display errors
Some lines in dracut's manpage are just too long for justified
display on 80c terminals. These small corrections fix this. In addition
man --warnings does not complain anymore about anything at all.
Peter Jones [Mon, 23 Nov 2009 15:15:56 +0000 (10:15 -0500)]
Handle modules with hyphens in their names properly.
If a module has a hyphen in its name, it will show up as an underscore
in /proc/modules. Because of this, when we're testing /proc/modules,
we have to munge our module filename expression to match.
Dan Horák [Thu, 12 Nov 2009 13:44:25 +0000 (14:44 +0100)]
move dasd initialization script and rules to s390utils
The primary source for dasd initialization script and udev rules is
now in s390utils package. The s390utils-base subpackage, that carries
the required files, is always installed on s390/s390x, because it's
part of the Core group in comps.
Dan Horák [Tue, 3 Nov 2009 10:50:55 +0000 (11:50 +0100)]
control filesystems included in the generic initramfs
New "filesystems" command line/config file option is added with the ability to
control the list of kernel filesystem modules that are included in the generic
initramfs.