Current Path: > > lib > dracut > modules.d > 98dracut-systemd
Operation : Linux premium88.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64 Software : Apache Server IP : 185.61.154.216 | Your IP: 216.73.216.44 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
dracut-cmdline-ask.service | File | 847 bytes | October 08 2018 13:38:33. | |
dracut-cmdline-ask.sh | File | 418 bytes | October 08 2018 13:38:33. | |
dracut-cmdline.service | File | 904 bytes | October 08 2018 13:38:33. | |
dracut-cmdline.service.8 | File | 1555 bytes | October 09 2018 08:48:58. | |
dracut-cmdline.service.8.asc | File | 442 bytes | October 08 2018 13:38:33. | |
dracut-cmdline.sh | File | 2651 bytes | July 15 2025 09:09:21. | |
dracut-emergency.service | File | 681 bytes | October 08 2018 13:38:33. | |
dracut-emergency.sh | File | 1382 bytes | October 08 2018 13:38:33. | |
dracut-initqueue.service | File | 821 bytes | October 08 2018 13:38:33. | |
dracut-initqueue.service.8 | File | 1550 bytes | October 09 2018 08:48:58. | |
dracut-initqueue.service.8.asc | File | 439 bytes | October 08 2018 13:38:33. | |
dracut-initqueue.sh | File | 2147 bytes | October 08 2018 13:38:33. | |
dracut-mount.service | File | 793 bytes | October 08 2018 13:38:33. | |
dracut-mount.service.8 | File | 1531 bytes | October 09 2018 08:48:58. | |
dracut-mount.service.8.asc | File | 416 bytes | October 08 2018 13:38:33. | |
dracut-mount.sh | File | 1052 bytes | October 08 2018 13:38:33. | |
dracut-pre-mount.service | File | 822 bytes | October 08 2018 13:38:33. | |
dracut-pre-mount.service.8 | File | 1546 bytes | October 09 2018 08:48:58. | |
dracut-pre-mount.service.8.asc | File | 434 bytes | October 08 2018 13:38:33. | |
dracut-pre-mount.sh | File | 502 bytes | July 15 2025 09:09:21. | |
dracut-pre-pivot.service | File | 1125 bytes | October 08 2018 13:38:33. | |
dracut-pre-pivot.service.8 | File | 1541 bytes | October 09 2018 08:48:58. | |
dracut-pre-pivot.service.8.asc | File | 429 bytes | October 08 2018 13:38:33. | |
dracut-pre-pivot.sh | File | 895 bytes | July 15 2025 09:09:21. | |
dracut-pre-trigger.service | File | 914 bytes | October 08 2018 13:38:33. | |
dracut-pre-trigger.service.8 | File | 1550 bytes | October 09 2018 08:48:58. | |
dracut-pre-trigger.service.8.asc | File | 440 bytes | October 08 2018 13:38:33. | |
dracut-pre-trigger.sh | File | 467 bytes | July 15 2025 09:09:21. | |
dracut-pre-udev.service | File | 993 bytes | October 08 2018 13:38:33. | |
dracut-pre-udev.service.8 | File | 1537 bytes | October 09 2018 08:48:58. | |
dracut-pre-udev.service.8.asc | File | 424 bytes | October 08 2018 13:38:33. | |
dracut-pre-udev.sh | File | 1413 bytes | October 08 2018 13:38:33. | |
dracut-shutdown-onfailure.service | File | 309 bytes | July 15 2025 09:09:22. | |
dracut-shutdown.service | File | 440 bytes | July 15 2025 09:09:22. | |
dracut-shutdown.service.8 | File | 3813 bytes | July 15 2025 09:09:23. | |
dracut-shutdown.service.8.asc | File | 1880 bytes | July 15 2025 09:09:22. | |
dracut-tmpfiles.conf | File | 135 bytes | October 08 2018 13:38:33. | |
emergency.service | File | 692 bytes | October 08 2018 13:38:33. | |
module-setup.sh | File | 2072 bytes | July 15 2025 09:09:21. | |
rootfs-generator.sh | File | 4152 bytes | July 15 2025 09:09:21. |
#!/bin/sh type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh generator_wait_for_dev() { local _name local _timeout _name="$(str_replace "$1" '/' '\x2f')" _timeout=$(getarg rd.timeout) _timeout=${_timeout:-0} if ! [ -e "$hookdir/initqueue/finished/devexists-${_name}.sh" ]; then # If a LUKS device needs unlocking via systemd in the initrd, assume # it's for the root device. In that case, don't block on it if it's # after remote-fs-pre.target since the initqueue is ordered before it so # it will never actually show up (think Tang-pinned rootfs). cat > "$hookdir/initqueue/finished/devexists-${_name}.sh" << EOF if ! grep -q After=remote-fs-pre.target /run/systemd/generator/systemd-cryptsetup@*.service 2>/dev/null; then [ -e "$1" ] fi EOF { printf '[ -e "%s" ] || ' $1 printf 'warn "\"%s\" does not exist"\n' $1 } >> "$hookdir/emergency/80-${_name}.sh" fi _name=$(dev_unit_name "$1") if ! [ -L "$GENERATOR_DIR"/initrd.target.wants/${_name}.device ]; then [ -d "$GENERATOR_DIR"/initrd.target.wants ] || mkdir -p "$GENERATOR_DIR"/initrd.target.wants ln -s ../${_name}.device "$GENERATOR_DIR"/initrd.target.wants/${_name}.device fi if ! [ -f "$GENERATOR_DIR"/${_name}.device.d/timeout.conf ]; then mkdir -p "$GENERATOR_DIR"/${_name}.device.d { echo "[Unit]" echo "JobTimeoutSec=$_timeout" echo "JobRunningTimeoutSec=$_timeout" } > "$GENERATOR_DIR"/${_name}.device.d/timeout.conf fi } generator_mount_rootfs() { local _type=$2 local _flags=$3 local _name [ -z "$1" ] && return 0 _name=$(dev_unit_name "$1") [ -d "$GENERATOR_DIR" ] || mkdir -p "$GENERATOR_DIR" if ! [ -f "$GENERATOR_DIR"/sysroot.mount ]; then { echo "[Unit]" echo "Before=initrd-root-fs.target" echo "Requires=systemd-fsck@${_name}.service" echo "After=systemd-fsck@${_name}.service" echo "[Mount]" echo "Where=/sysroot" echo "What=$1" echo "Options=${_flags}" echo "Type=${_type}" } > "$GENERATOR_DIR"/sysroot.mount fi if ! [ -L "$GENERATOR_DIR"/initrd-root-fs.target.requires/sysroot.mount ]; then [ -d "$GENERATOR_DIR"/initrd-root-fs.target.requires ] || mkdir -p "$GENERATOR_DIR"/initrd-root-fs.target.requires ln -s ../sysroot.mount "$GENERATOR_DIR"/initrd-root-fs.target.requires/sysroot.mount fi } generator_fsck_after_pre_mount() { local _name [ -z "$1" ] && return 0 _name=$(dev_unit_name "$1") [ -d /run/systemd/generator/systemd-fsck@${_name}.service.d ] || mkdir -p /run/systemd/generator/systemd-fsck@${_name}.service.d if ! [ -f /run/systemd/generator/systemd-fsck@${_name}.service.d/after-pre-mount.conf ]; then { echo "[Unit]" echo "After=dracut-pre-mount.service" } > /run/systemd/generator/systemd-fsck@${_name}.service.d/after-pre-mount.conf fi } root=$(getarg root=) case "$root" in block:LABEL=*|LABEL=*) root="${root#block:}" root="$(echo $root | sed 's,/,\\x2f,g')" root="block:/dev/disk/by-label/${root#LABEL=}" rootok=1 ;; block:UUID=*|UUID=*) root="${root#block:}" root="block:/dev/disk/by-uuid/${root#UUID=}" rootok=1 ;; block:PARTUUID=*|PARTUUID=*) root="${root#block:}" root="block:/dev/disk/by-partuuid/${root#PARTUUID=}" rootok=1 ;; block:PARTLABEL=*|PARTLABEL=*) root="${root#block:}" root="block:/dev/disk/by-partlabel/${root#PARTLABEL=}" rootok=1 ;; /dev/nfs) # ignore legacy /dev/nfs ;; /dev/*) root="block:${root}" rootok=1 ;; esac GENERATOR_DIR="$1" if [ "$rootok" = "1" ]; then generator_wait_for_dev "${root#block:}" "$RDRETRY" generator_fsck_after_pre_mount "${root#block:}" strstr "$(cat /proc/cmdline)" 'root=' || generator_mount_rootfs "${root#block:}" "$(getarg rootfstype=)" "$(getarg rootflags=)" fi exit 0
SILENT KILLER Tool