Go to file
Dave Young 9d161703a6 pass persistent name to dracut --mount
currently --mount param are retrieved from /proc/mounts, but the device
name could be renamed in initramfs. So here convert them to persistent
names before passing to dracut

lvm canonical dev name is /dev/mapper/lvname-link which will be showed
in /proc/mounts
here fix get_mp function by using findmnt utils to find the mount point.

This patch depends on below dracut patch:
http://permalink.gmane.org/gmane.linux.kernel.initramfs/2903

[chaowang]:
in case device is not mounted we should not echo the mount line in to_mount()
use findmnt -n to strip the header line
for nfs don't pass persistent name to dracut
[vivek]:
improve variable names

Signed-off-by: Dave Young <dyoung@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
2012-09-20 11:03:19 +08:00
po
.gitignore
98-kexec.rules
dracut-kdump.sh pass persistent name to dracut --mount 2012-09-20 11:03:19 +08:00
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.spec
mkdumprd pass persistent name to dracut --mount 2012-09-20 11:03:19 +08:00
mkdumprd.8
rhcrashkernel-param
sources