plugeth/cmd/utils
Alex Mazalov 24c1e3053b
cmd/geth: graceful shutdown if disk is full (#22103)
Adding warnings of free disk space left and graceful shutdown when there is not enough space left.
This also adds a flag datadir.minfreedisk which can be used to set the trigger for low disk space, and setting it to zero disables the check. 

Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Felix Lange <fjl@twurst.com>
2021-01-19 09:26:42 +01:00
..
cmd.go cmd/geth: graceful shutdown if disk is full (#22103) 2021-01-19 09:26:42 +01:00
customflags_test.go cmd/utils: fix path expansion on windows 2015-08-06 17:18:59 +02:00
customflags.go cmd/clef, cmd/geth: use SplitAndTrim from cmd/utils (#21579) 2020-09-22 23:22:54 +02:00
diskusage_windows.go cmd/geth: graceful shutdown if disk is full (#22103) 2021-01-19 09:26:42 +01:00
diskusage.go cmd/geth: graceful shutdown if disk is full (#22103) 2021-01-19 09:26:42 +01:00
flags_legacy.go node: refactor package node (#21105) 2020-08-03 19:40:46 +02:00
flags_test.go cmd/utils: allow for multiple influxdb tags (#18520) 2019-01-29 09:14:24 +01:00
flags.go cmd/geth: graceful shutdown if disk is full (#22103) 2021-01-19 09:26:42 +01:00
prompt_test.go cmd: abstract getPassPhrase functions into one (#21219) 2020-06-30 09:56:40 +02:00
prompt.go cmd: abstract getPassPhrase functions into one (#21219) 2020-06-30 09:56:40 +02:00