def METHOD_NAME(self, line):
    data_record = line.split()
    if data_record and len(data_record) >= 6 \
       and not data_record[0].startswith('#'):
        device = data_record[0]
        mountpoint = data_record[1]
        fstype = data_record[2]
        options = data_record[3]
        dump = data_record[4]
        fs_passno = data_record[5]
        if device.startswith('UUID'):
            device_path = ''.join(
                ['/dev/disk/by-uuid/', device.split('=')[1]]
            )
        elif device.startswith('LABEL'):
            device_path = ''.join(
                ['/dev/disk/by-label/', device.split('=')[1]]
            )
        elif device.startswith('PARTUUID'):
            device_path = ''.join(
                ['/dev/disk/by-partuuid/', device.split('=')[1]]
            )
        else:
            device_path = device
        return fstab_entry_type(
            fstype=fstype,
            mountpoint=mountpoint,
            device_path=device_path,
            device_spec=device,
            options=options,
            dump=dump,
            fs_passno=fs_passno
        )