mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-23 18:14:24 +08:00
Decoded the reparse tag for deduplication in ntfsinfo
Take into account the reparse tag for deduplication and display its meaning
This commit is contained in:
parent
30ae872b89
commit
2eb5052480
@ -412,16 +412,23 @@ static const char *reparse_type_name(le32 tag)
|
||||
{
|
||||
const char *name;
|
||||
|
||||
if (tag == IO_REPARSE_TAG_MOUNT_POINT)
|
||||
switch (tag) {
|
||||
case IO_REPARSE_TAG_MOUNT_POINT :
|
||||
name = " (mount point)";
|
||||
else
|
||||
if (tag == IO_REPARSE_TAG_SYMLINK)
|
||||
name = " (symlink)";
|
||||
else
|
||||
if (tag == IO_REPARSE_TAG_WOF)
|
||||
name = " (Wof compressed)";
|
||||
else
|
||||
name = "";
|
||||
break;
|
||||
case IO_REPARSE_TAG_SYMLINK :
|
||||
name = " (symlink)";
|
||||
break;
|
||||
case IO_REPARSE_TAG_WOF :
|
||||
name = " (Wof compressed)";
|
||||
break;
|
||||
case IO_REPARSE_TAG_DEDUP :
|
||||
name = " (deduplicated)";
|
||||
break;
|
||||
default :
|
||||
name = "";
|
||||
break;
|
||||
}
|
||||
return (name);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user