Hi all and Szaka in particular,
I have changed MFT_RECORD to include the NTFS 3.x specific fields. I am
providing a copy of the old MFT_RECORD as MFT_RECORD_1x, primarily
because mkntfs needs it at the moment.
Can everyone please check their utilities for breakage due to this and
fix them? I looked and fixed the library as well as mkntfs and
ntfsclone (I think). I didn't notice any other utilities being
affected...
Szaka, could you check ntfsclone for me? Is my change (see below)
correct and sufficient?
I changed wipe_unused_mft() like this:
- /* MFT_RECORD doesn't have the XP specific 6 bytes, so add it */
- unused = m->bytes_in_use - (sizeof(MFT_RECORD) + 6);
+ unused = m->bytes_in_use - sizeof(MFT_RECORD);
wiped_unused_mft += wipe_data((char *)m, sizeof(MFT_RECORD), unused);
Best regards,
Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net
WWW: http://linux-ntfs.sf.net/ &
http://www-stu.christs.cam.ac.uk/~aia21/
|