]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/ceph-volume/ceph_volume/util/disk.py
update sources to v12.2.5
[ceph.git] / ceph / src / ceph-volume / ceph_volume / util / disk.py
index c3a791540051df82edddca92cf25ca3484f66bc5..434723340258d405b6a87eedf1925e4dba27165e 100644 (file)
@@ -179,18 +179,6 @@ def lsblk(device, columns=None, abspath=False):
     return _lsblk_parser(' '.join(out))
 
 
-def _lsblk_type(device):
-    """
-    Helper function that will use the ``TYPE`` label output of ``lsblk`` to determine
-    if a device is a partition or disk.
-    It does not process the output to return a boolean, but it does process it to return the
-    """
-    out, err, rc = process.call(
-        ['blkid', '-s', 'PARTUUID', '-o', 'value', device]
-    )
-    return ' '.join(out).strip()
-
-
 def is_device(dev):
     """
     Boolean to determine if a given device is a block device (**not**