[PATCH v2 makedumpfile 0/3] Add option to limit file size

HAGIO KAZUHITO(萩尾 一仁) k-hagio-ab at nec.com
Thu Jul 29 19:13:28 PDT 2021


-----Original Message-----
> See feature description in patch "Add -L option to limit output file
> size"
> 
> v1:
> 	http://lists.infradead.org/pipermail/kexec/2021-June/022728.html
> v2:
> 	Add patches 1, 2 to support dmesg limit with different kernel
> 	versions.
> 
> 	Stricter parsing of -L option value.
> 
> 	Instead of using RLIMIT_FSIZE, use write_bytes or SEEK_CUR to
> 	enforce limit. This better integrates with the -F option for
> 	stdout output.

sorry for the delay, and thank you for the update and fix.

Note that the v2 patchset cannot be built except for x86_64, so I moved
the memparse() from sadump_info.c to tools.c.  Otherwise, looks good.

https://github.com/makedumpfile/makedumpfile/compare/9df519d...f0cfa86

Thanks,
Kazu




More information about the kexec mailing list