]> git.ipfire.org Git - thirdparty/dracut.git/commit - dracut.sh
dracut.sh: introduce "--no-hostonly-default-device" argument
authorXunlei Pang <xlpang@redhat.com>
Wed, 16 Aug 2017 05:55:17 +0000 (13:55 +0800)
committerXunlei Pang <xlpang@redhat.com>
Fri, 18 Aug 2017 01:58:08 +0000 (09:58 +0800)
commit37f2fe55d11156839b87d6cf74d686956d72dc06
tree57aa6da9642876010357f49a204c6146a15696f1
parente5d60187837a0a6d80f719fd6e9238adcc3ebbb9
dracut.sh: introduce "--no-hostonly-default-device" argument

Kdump doesn't need default host devices like root, swap, fstab, etc,
we only care about the dump target which can be added via "--mount"
or "--add-device". We met several issues that kdump kernel failed
due to one of those host devices added by dracut, additionally, the
needless devices(e.g. LVM) consume some appreciable amount of memory
which is more likely to cause OOM under memory-limited kdump.

So this patch introduced "--no-hostonly-default-device" to avoid
adding those default devices as host_devs.

Signed-off-by: Xunlei Pang <xlpang@redhat.com>
dracut.8.asc
dracut.sh