Unnamed repository
4b9c868b8d
Previously to_dev_name use blkid to get dev name from dump target, but blkid can not handle UUID/LABEL with quotes so to_dev_name will silently fail. Because we enforce dump target being mounted before creating kdump initrd, so change to use findmnt is fine. findmnt can handle input params with quotes. to_dev_name is not necessary anymore, just remove it. Also there's another user of it is for checking if the dev is root or not, here change to use findmnt for this as well. Tested the rootfs dump, UUID with/without quotes dump. Signed-off-by: Dave Young <dyoung@redhat.com> Reviewed-by: Caspar Zhang <czhang@redhat.com> Acked-by: Baoquan He <bhe@redhat.com> |
||
---|---|---|
po | ||
.gitignore | ||
98-kexec.rules | ||
dracut-kdump.sh | ||
dracut-module-setup.sh | ||
dracut-monitor_dd_progress | ||
firstboot_kdump.py | ||
kdump.conf | ||
kdump.conf.5 | ||
kdump.init | ||
kdump.service | ||
kdump.sysconfig | ||
kdump.sysconfig.i386 | ||
kdump.sysconfig.ia64 | ||
kdump.sysconfig.ppc64 | ||
kdump.sysconfig.s390x | ||
kdump.sysconfig.x86_64 | ||
kdumpctl | ||
kexec-kdump-howto.txt | ||
kexec-tools-2.0.3-disable-kexec-test.patch | ||
kexec-tools-2.0.3-kdump-pass-acpi_rsdp-to-2nd-kernel-for-efi-booting.patch | ||
kexec-tools-2.0.3-Load-bzImages-smaller-than-32-KiB.patch | ||
kexec-tools-2.0.3-ppc-exec-stack-fix.patch | ||
kexec-tools-2.0.3-ppc-ppc64-compile-purgatory-code-with-gcc-option-msoft-float.patch | ||
kexec-tools-2.0.3-vmcore-dmesg-Do-not-write-beyond-end-of-buffer.patch | ||
kexec-tools-2.0.3-vmcore-dmesg-vmcore-dmesg-Make-it-work-with-new-stru.patch | ||
kexec-tools.spec | ||
mkdumprd | ||
mkdumprd.8 | ||
rhcrashkernel-param | ||
sources | ||
zanata-notes.txt |