Jump to content

dracut (software)

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Bender235 (talk | contribs) at 14:54, 25 July 2016 (top: clean up; http->https (see this RfC) using AWB). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Dracut
Original author(s)Harald Hoyer and others
Initial releaseJuly 2009; 15 years ago (2009-07)
Stable release
043 / 15 June 2015; 9 years ago (2015-06-15)[1]
Repository
Written inC, Unix shell
Operating systemLinux
PlatformLinux kernel
TypeInitramfs
LicenseGPL-2+ and LGPL-2+
Websitedracut.wiki.kernel.org

dracut is an event-driven initramfs infrastructure. dracut (the tool) is used to create an initramfs image by copying tools and files from an installed system and combining it with the dracut framework, usually found in /usr/lib/dracut/modules.d.

Unlike existing initramfses, dracut's framework attempts to have as little hard-coded into the initramfs as possible.[citation needed] The initramfs has (basically) one purpose in life—mounting the root file system so the boot process can transition to the real rootfs.[citation needed] This is all driven off of device availability.[citation needed] Therefore, instead of having hard-coded scripts to do various things, dracut's initramfs depends on udev to create symbolic links to device nodes and when the rootfs's device node appears, it mounts it and switches root to it. This helps to keep the time required in initramfs down so that things like a 5-second boot are not made impossible as a result of the very existence of an initramfs.[2]

Most of the initramfs generation functionality in dracut is provided by generator modules that are sourced by the main dracut tool to install specific functionality into the initramfs.[citation needed] They live in the modules subdirectory, and use functionality provided by dracut-functions to do their work.[2][citation needed]

Currently, dracut supports booting from btrfs, DM RAID, MD RAID, LVM2, device mapper multipath I/O, dm-crypt, cifs, FCoE, iSCSI, NBD and NFS.[3]

Lately dracut gained the ability to use systemd as process 1 in the initramfs.[4]

Adoption

dracut is available for:

See also

References

  1. ^ Hoyer, Harald (15 June 2015). "[ANNOUNCE] dracut 042 and 043". Newsgroupgmane.linux.kernel.initramfs. Retrieved 22 June 2015.
  2. ^ a b dracut Wiki, kernel.org, retrieved 2012-10-10
  3. ^ dracut documentation, kernel.org, retrieved 2012-10-10
  4. ^ Google+ blog about systemd in dracut, plus.google.com, retrieved 2012-10-10
  5. ^ Features/Dracut, FedoraProject, retrieved 2012-10-10
  6. ^ RHEL6 SRPMS FTP, redhat.com, retrieved 2012-10-10
  7. ^ Dracut - Gentoo Wiki, wiki.gentoo.org, retrieved 2012-10-10
  8. ^ Package: dracut (005-1), debian.org, retrieved 2012-10-10
  9. ^ dracut-010-6-mdv2011.0.noarch.rpm, pkgs.org, retrieved 2012-10-10
  10. ^ Mageia App Db, mageia.madb.org, retrieved 2012-10-10
  11. ^ openSUSE 13.2 Major features, openSUSE project, retrieved 2014-11-04