@classmethod
def from_blkid_export(cls, export_str):
    """Construct BlockDevice from export formatted blkid output."""
    bd = cls()
    for line in export_str.splitlines():
        var, value = cls.parse_shell_var(line)
        if var in cls.ATTR_MAP:
            setattr(bd, cls.ATTR_MAP[var], value)
    return bd
