From 7bc4e324580656585adad0cbe51d60ed3540b766 Mon Sep 17 00:00:00 2001 From: Vojtech Trefny Date: Fri, 3 Jul 2020 13:04:23 +0200 Subject: [PATCH] Do not use FSAVAIL and FSUSE% options when running lsblk These options were added in util-linux 2.33 which is not available on older systems so we should not use these. --- blivet/blivet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blivet/blivet.py b/blivet/blivet.py index fcc2080b..e7dbd37b 100644 --- a/blivet/blivet.py +++ b/blivet/blivet.py @@ -77,7 +77,7 @@ def __init__(self): self._dump_file = "%s/storage.state" % tempfile.gettempdir() try: - options = "NAME,SIZE,OWNER,GROUP,MODE,FSTYPE,LABEL,UUID,PARTUUID,FSAVAIL,FSUSE%,MOUNTPOINT" + options = "NAME,SIZE,OWNER,GROUP,MODE,FSTYPE,LABEL,UUID,PARTUUID,MOUNTPOINT" out = capture_output(["lsblk", "--bytes", "-a", "-o", options]) except Exception: # pylint: disable=broad-except pass