if (major == 1 && minor == 0)
return 0;
-#if 0
if (*((unsigned char *) sb->volume_name))
blkid_probe_set_utf8label(pr, (unsigned char *) sb->volume_name,
sizeof(sb->volume_name),
BLKID_ENC_UTF16LE);
-#endif
blkid_probe_set_uuid(pr, sb->uuid);
blkid_probe_sprintf_version(pr, "%u.%u", major, minor);
if (be32_to_cpu(key->parent_id) != HFSPLUS_POR_CNID)
return 0;
-#if 0
blkid_probe_set_utf8label(pr, key->unicode,
be16_to_cpu(key->unicode_len) * 2,
BLKID_ENC_UTF16BE);
-#endif
return 0;
}
static int probe_ntfs(blkid_probe pr, const struct blkid_idmag *mag)
{
struct ntfs_super_block *ns;
-#if 0
struct master_file_table_record *mft;
-#endif
uint32_t sectors_per_cluster, mft_record_size;
uint16_t sector_size;
- uint64_t nr_clusters, off; //, attr_off;
+ uint64_t nr_clusters, off, attr_off;
unsigned char *buf_mft;
ns = blkid_probe_get_sb(pr, mag, struct ntfs_super_block);
if (memcmp(buf_mft, "FILE", 4))
return 1;
-#if 0
mft = (struct master_file_table_record *) buf_mft;
attr_off = le16_to_cpu(mft->attrs_offset);
attr_off += attr_len;
}
-#endif
blkid_probe_sprintf_uuid(pr,
(unsigned char *) &ns->volume_serial,