-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Having mkdumprd as a separate executable is a remnant fro the time before dracut existed. With the introduction of dracut most of the functionality of mkdumprd was removed and it became a simple wrapper for it. All the remaining functionality can also be done in a function called from kdumpctl. Same for mkfadumprd.
Turning mkdumprd/mkfadumprd into a function has the benefit that a lot of duplicate code can be avoided. For example handling of additional temporary directories. In addition the functions can access the OPT array and thus reduce the number of times kdump.conf needs to be parsed (See #139 ).
In addition, removing mkdumprd/mkfadumprd as stand alone executable reduces the chance of user errors. See [1] for example.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels