From 6d0267d1b1fc9597e0c49299114016341ff4646e Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 15 Mar 2020 01:21:41 -0500 Subject: disk: Remove ability to undo e2fs This can use multiple GBs of RAM in /tmp, and/or fail with mkfs.ext4: No space left on device while trying to create journal /tmp/undo-sda2: while force-closing undo file --- hscript/disk.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'hscript') diff --git a/hscript/disk.cc b/hscript/disk.cc index 1f6d3b3..a23c8f5 100644 --- a/hscript/disk.cc +++ b/hscript/disk.cc @@ -706,8 +706,6 @@ bool Filesystem::execute() const { const std::string dev_node( device().substr(device().find_last_of('/') + 1)); args.push_back("-q"); - args.push_back("-z"); - args.push_back("/tmp/undo-" + dev_node); } args.push_back(_block); -- cgit v1.2.3-70-g09d2