mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 20:26:44 +02:00
Merge pull request #386 from marineam/fsck
disk_util: include fsck output during resize operation
This commit is contained in:
commit
798d9087fb
@ -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'])])
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user