Fix grammar in NEWS and add a few useful extra outputs about the

attribute list attribute in ntfsinfo.c.  (Anton)
edge.strict_endians
Anton Altaparmakov 2007-09-28 21:07:15 +01:00
parent ae99cc4199
commit e0e71a3776
2 changed files with 13 additions and 8 deletions

8
NEWS
View File

@ -3,14 +3,14 @@ ntfsprogs 2.0.0
ntfsmount (and libntfs) now has full basic read/write support.
Cryptographic code now integrated into the libntfs, thus ntfscat and ntfsmount
now can read encrypted files. See "man 8 libntfs" for details.
Cryptographic code is now integrated into libntfs, thus ntfscat and ntfsmount
now can read encrypted files. See "man 8 libntfs" for details.
ntfsresize (and the entirety of ntfsprogs/libntfs in fact) now have full
support for Windows Vista.
ntfsprogs and libntfs now entirely endian safe and move over now we have checks
that automatically reports endian errors.
ntfsprogs and libntfs are now entirely endian safe and more over now we have
checks that automatically reports endian errors.
mkntfs now creates a DCE compliant GUID for the volume and does a few other
things to be more compliant with Windows Vista.

View File

@ -1211,11 +1211,16 @@ static const char * ntfs_dump_lcn(LCN lcn)
}
}
static void ntfs_dump_attribute_header(ATTR_RECORD *a, ntfs_volume *vol)
static void ntfs_dump_attribute_header(ntfs_attr_search_ctx *ctx,
ntfs_volume *vol)
{
printf("Dumping attribute %s (0x%x)\n",
ATTR_RECORD *a = ctx->attr;
printf("Dumping attribute %s (0x%x) from mft record %lld (0x%llx)\n",
get_attribute_type_name(a->type),
(unsigned)le32_to_cpu(a->type));
(unsigned)le32_to_cpu(a->type),
(unsigned long long)ctx->ntfs_ino->mft_no,
(unsigned long long)ctx->ntfs_ino->mft_no);
ntfs_log_verbose("\tAttribute length:\t %u (0x%x)\n",
(unsigned)le32_to_cpu(a->length),
@ -2153,7 +2158,7 @@ static void ntfs_dump_file_attributes(ntfs_inode *inode)
continue;
}
ntfs_dump_attribute_header(ctx->attr, inode->vol);
ntfs_dump_attribute_header(ctx, inode->vol);
switch (ctx->attr->type) {
case AT_STANDARD_INFORMATION: