summaryrefslogtreecommitdiff
path: root/hscript/disk.cc
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-03-15 01:21:41 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-03-15 01:21:41 -0500
commit6d0267d1b1fc9597e0c49299114016341ff4646e (patch)
tree94fee8095904e3a4d9cc234bfa5a4412be34665f /hscript/disk.cc
parent121ea03a37d5a3b45734cad9324649ae43a58779 (diff)
downloadhorizon-6d0267d1b1fc9597e0c49299114016341ff4646e.tar.gz
horizon-6d0267d1b1fc9597e0c49299114016341ff4646e.tar.bz2
horizon-6d0267d1b1fc9597e0c49299114016341ff4646e.tar.xz
horizon-6d0267d1b1fc9597e0c49299114016341ff4646e.zip
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
Diffstat (limited to 'hscript/disk.cc')
-rw-r--r--hscript/disk.cc2
1 files changed, 0 insertions, 2 deletions
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);