From 07fc135a12bed17c0d94ddd0c3eb045307a20d83 Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Wed, 25 Mar 2015 14:16:15 -0700 Subject: [PATCH] disk_util: include fsck output during resize operation Previously fsck output was suppressed to reduce the amount of noise in build logs on the assumption that fsck really shouldn't have a reason to fail. The filesystem is freshly created after all. However some users have reported that fsck is failing but without error messages we don't know why. --- build_library/disk_util | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_library/disk_util b/build_library/disk_util index 633d464f73..7c67bfa157 100755 --- a/build_library/disk_util +++ b/build_library/disk_util @@ -508,7 +508,7 @@ def ResizeExt(part, device): part: dict defining the partition device: name of the block device """ - Sudo(['e2fsck', '-p', '-f', device], stdout_null=True) + Sudo(['e2fsck', '-p', '-f', device]) Sudo(['resize2fs', device, str(part['fs_blocks'])])