请输入您要查询的百科知识:

 

词条 Dracut (software)
释义

  1. Adoption

  2. See also

  3. References

  4. External links

{{lowercase}}{{Expand German|Dracut-Projekt|date=October 2012}}{{Infobox software
| name = Dracut
| title = Dracut
| logo =
| logo caption =
| logo_size =
| logo_alt =
| screenshot =
| caption =
| screenshot_size =
| screenshot_alt =
| collapsible =
| author = Harald Hoyer and [https://git.kernel.org/?p=boot/dracut/dracut.git;a=blob;f=AUTHORS others]
| developer =
| released = {{Start date and age|2009|07}}
| discontinued =
| latest release version = 048
| latest release date = {{Start date and age|2018|07|06|df=yes}}
| latest preview version =
| latest preview date =
| status = active
| programming language = C, Unix shell
| operating system = Linux
| platform = Linux kernel
| size =
| language =
| language count =
| language footnote =
| genre = Initramfs
| license = GPL-2+ and LGPL-2+
| website = {{URL|https://dracut.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|date=June 2015}} 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|date=June 2015}} This is all driven off of device availability.{{citation needed|date=June 2015}} 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.[1]

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|date=June 2015}} They live in the modules subdirectory, and use functionality provided by dracut-functions to do their work.[1]{{citation needed|date=June 2015}}

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

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

Adoption

dracut is available from the official repository of most distros, including

  • Fedora since version 12, Constantine.[4]
  • Red Hat Enterprise Linux since version 6.[5]
  • Gentoo since 2010.[6]
  • Debian since version 6, Squeeze.[7]
  • OpenMandriva Lx, since it was Mandriva Linux in 2011.[8][9]
  • Mageia since Mageia 2.[10]
  • openSUSE since version 13.2, when it became the default initramfs creation tool[11]
  • SUSE Linux Enterprise Server since version 12.
  • Void Linux, and others.

dracut is the default initramfs creation tool on openSUSE and many others.

See also

{{Portal|Linux}}

References

1. ^{{citation |url=https://dracut.wiki.kernel.org/ |title=dracut Wiki |publisher=kernel.org |accessdate=2012-10-10}}
2. ^{{citation |url=https://www.kernel.org/pub/linux/utils/boot/dracut/dracut.html#dracutcmdline7 |title=dracut documentation |publisher=kernel.org |accessdate=2012-10-10}}
3. ^{{citation |url=https://plus.google.com/116442056808259194967/posts/bXNaMipzY5w |title=Google+ blog about systemd in dracut |publisher=plus.google.com |accessdate=2012-10-10}}
4. ^{{citation |url=https://fedoraproject.org/wiki/Features/Dracut |title=Features/Dracut |publisher=FedoraProject |accessdate=2012-10-10}}
5. ^{{citation |url=http://ftp.redhat.com/redhat/linux/enterprise/6Server/en/os/SRPMS/ |title=RHEL6 SRPMS FTP |publisher=redhat.com |accessdate=2012-10-10}}
6. ^{{citation |url=http://wiki.gentoo.org/wiki/Dracut |title=Dracut - Gentoo Wiki |publisher=wiki.gentoo.org |accessdate=2012-10-10}}
7. ^{{citation |url=http://packages.debian.org/squeeze/dracut |title=Package: dracut (005-1) |publisher=debian.org |accessdate=2012-10-10}}
8. ^{{citation |url=http://pkgs.org/download/dracut |title=dracut-010-6-mdv2011.0.noarch.rpm |publisher=pkgs.org |accessdate=2012-10-10}}
9. ^{{citation |url=https://wiki.openmandriva.org/en/Kernel |title=Kernel}}
10. ^{{citation |url=http://mageia.madb.org/package/show/application/0/name/dracut |title=Mageia App Db |publisher=mageia.madb.org |accessdate=2012-10-10}}
11. ^{{citation |url=https://en.opensuse.org/openSUSE:Major_features |title=openSUSE 13.2 Major features |publisher=openSUSE project |accessdate=2014-11-04}}

External links

  • [https://dracut.wiki.kernel.org/ dracut.wiki.kernel.org]
  • https://www.kernel.org/pub/linux/utils/boot/dracut/dracut.html
{{Linux kernel}}

1 : Linux kernel

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/22 14:38:07