SILENT KILLERPanel

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 ]

Files and Folders in: //lib/dracut/modules.d/98dracut-systemd

NameTypeSizeLast ModifiedActions
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.

Reading File: //lib/dracut/modules.d/98dracut-systemd/dracut-cmdline.sh

#!/bin/sh

if [ -f /dracut-state.sh ]; then
    . /dracut-state.sh 2>/dev/null
fi
type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh

[ -f /usr/lib/initrd-release ] && . /usr/lib/initrd-release
[ -n "$VERSION" ] && info "dracut-$VERSION"

if ! getargbool 1 'rd.hostonly'; then
    [ -f /etc/cmdline.d/99-cmdline-ask.conf ] && mv /etc/cmdline.d/99-cmdline-ask.conf /tmp/99-cmdline-ask.conf
    remove_hostonly_files
    [ -f /tmp/99-cmdline-ask.conf ] && mv /tmp/99-cmdline-ask.conf /etc/cmdline.d/99-cmdline-ask.conf
fi

info "Using kernel command line parameters:" $(getcmdline)

getargbool 0 rd.udev.log-priority=info -d rd.udev.info -d -n -y rdudevinfo && echo 'udev_log="info"' >> /etc/udev/udev.conf
getargbool 0 rd.udev.log-priority=debug -d rd.udev.debug -d -n -y rdudevdebug && echo 'udev_log="debug"' >> /etc/udev/udev.conf

source_conf /etc/conf.d

# Get the "root=" parameter from the kernel command line, but differentiate
# between the case where it was set to the empty string and the case where it
# wasn't specified at all.
if ! root="$(getarg root=)"; then
    root_unset='UNSET'
fi

rflags="$(getarg rootflags=)"
getargbool 0 ro && rflags="${rflags},ro"
getargbool 0 rw && rflags="${rflags},rw"
rflags="${rflags#,}"

fstype="$(getarg rootfstype=)"
if [ -z "$fstype" ]; then
    fstype="auto"
fi

export root
export rflags
export fstype

make_trace_mem "hook cmdline" '1+:mem' '1+:iomem' '3+:slab'
# run scriptlets to parse the command line
getarg 'rd.break=cmdline' -d 'rdbreak=cmdline' && emergency_shell -n cmdline "Break before cmdline"
source_hook cmdline

[ -f /lib/dracut/parse-resume.sh ] && . /lib/dracut/parse-resume.sh

case "${root}${root_unset}" 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/*)
        root="block:${root}"
        rootok=1 ;;
    UNSET|gpt-auto)
        # systemd's gpt-auto-generator handles this case.
        rootok=1 ;;
esac

[ -z "${root}${root_unset}" ] && die "Empty root= argument"
[ -z "$rootok" ] && die "Don't know how to handle 'root=$root'"

export root rflags fstype netroot NEWROOT

export -p > /dracut-state.sh

exit 0

SILENT KILLER Tool