NTFS $Bitmap file size

In an NTFS file-system, is the size of $BITMAP rounded up? I have seen
one report (from a copy of the Linux NTFS project) that it is rounded up
to be a multiple of 8 bytes, and I have certainly seen this, but only
rarely. It seems that DISKPART and FORMAT don’t normally lay out a
filesystem which needs this rounding.

By the way, this isn’t simply an ‘academic’ question: it is to do with
some integrity checking being performed on an NTFS volume.

Thanks for any confirmation, insights, etc!

  • John

There is nothing like bitmap file size rounded up.but after analyzing it seems that NTFS
Is rounding up to 8 bytes :wink: Strange.
Since the size of $Bitmap is no minimum or maximum.

When extending or shrinking a bitmap, NTFS rounds the size of the bitmap to an 8 byte boundary. One reason is probably performance, so you don’t have to extend it one byte at a time.

Can you explain the integrity checking issue you are experiencing? Are you talking about Windows chkdsk running on a Windows NTFS file system, or some other combination?

Craig

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of John Leonard
Sent: Thursday, July 24, 2014 1:07 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] NTFS $Bitmap file size

In an NTFS file-system, is the size of $BITMAP rounded up? I have seen one report (from a copy of the Linux NTFS project) that it is rounded up to be a multiple of 8 bytes, and I have certainly seen this, but only rarely. It seems that DISKPART and FORMAT don’t normally lay out a filesystem which needs this rounding.

By the way, this isn’t simply an ‘academic’ question: it is to do with some integrity checking being performed on an NTFS volume.

Thanks for any confirmation, insights, etc!

  • John

NTFSD is sponsored by OSR

OSR is hiring!! Info at http://www.osr.com/careers

For our schedule of debugging and file system seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer