Hi, Recently while using ntfs-3g (2017.3.23AR.5) driver with the dedupe plugin (1.2.5), we encountered the following error while trying to read certain files on a dedup mount.
[user@node-3 Desktop]$ file <REDACTED>.pdf <REDACTED>.pdf: ERROR: cannot read (Operation not supported) Mounting with the "debug" option and then retrying the above operation, we got this error in /var/log/messages: [user@node-3 Desktop]$ sudo grep "ntfs-3g" /var/log/ -r /var/log/messages:Feb 23 00:31:44 node-3 ntfs-3g[14691]: Unexpected dedup format code 0x103 /var/log/messages:Feb 23 00:31:44 node-3 ntfs-3g[14691]: Unexpected dedup format code 0x103 /var/log/messages:Feb 23 00:31:44 node-3 ntfs-3g[14691]: Unexpected dedup format code 0x103 In the source code of dedup plugin there is this switch case for reparse format code: 1377 /* Assume the format defines a minor.major type version */ 1378 switch (le16_to_cpu(dedup_reparse->format)) { 1379 case 0x0201 : 1380 res = dedup_read_short(ni, reparse, 1381 buf, size, offset); 1382 break; 1383 case 0x0102 : 1384 res = dedup_read_long(ni, reparse, 1385 buf, size, offset); 1386 break; 1387 default : 1388 ntfs_log_error("Unexpected dedup format code 0x%x\n", 1389 (int)le16_to_cpu(dedup_reparse->format)); 1390 break; We see that there are only two format codes at the moment, i.e 0x201 and 0x102. Can I get some help regarding the third one (0x103), like what is it and how to reliably reproduce and fix this issue? I would appreciate any pointers for the same. Thanks and Regards, Aniket Pandey
_______________________________________________ ntfs-3g-devel mailing list ntfs-3g-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel