Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/util-linux/volume_id/ntfs.c
- Timestamp:
- Jan 1, 2014, 12:47:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi-busybox/util-linux/volume_id/ntfs.c
r2725 r3232 133 133 134 134 buf = volume_id_get_buffer(id, off + mft_off + (MFT_RECORD_VOLUME * mft_record_size), 135 135 mft_record_size); 136 136 if (buf == NULL) 137 137 goto found; … … 151 151 attr = (struct file_attribute*) &buf[attr_off]; 152 152 attr_type = le32_to_cpu(attr->type); 153 attr_len = le 16_to_cpu(attr->len);153 attr_len = le32_to_cpu(attr->len); 154 154 val_off = le16_to_cpu(attr->value_offset); 155 155 val_len = le32_to_cpu(attr->value_len); … … 166 166 167 167 dbg("found attribute type 0x%x, len %i, at offset %i", 168 168 attr_type, attr_len, attr_off); 169 169 170 170 // if (attr_type == MFT_RECORD_ATTR_VOLUME_INFO) { … … 189 189 found: 190 190 // volume_id_set_usage(id, VOLUME_ID_FILESYSTEM); 191 // id->type = "ntfs"; 191 IF_FEATURE_BLKID_TYPE(id->type = "ntfs";) 192 192 193 193 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.