

def __init__(self, volume):
    super(NTFSVBR, self).__init__(volume, 0)
    self.declare_field('byte', 'jump', offset=0, count=3)
    self.declare_field('qword', 'oem_id')
    self.declare_field('word', 'bytes_per_sector')
    self.declare_field('byte', 'sectors_per_cluster')
    self.declare_field('word', 'reserved_sectors')
    self.declare_field('byte', 'zero0', count=3)
    self.declare_field('word', 'unused0')
    self.declare_field('byte', 'media_descriptor')
    self.declare_field('word', 'zero1')
    self.declare_field('word', 'sectors_per_track')
    self.declare_field('word', 'number_of_heads')
    self.declare_field('dword', 'hidden_sectors')
    self.declare_field('dword', 'unused1')
    self.declare_field('dword', 'unused2')
    self.declare_field('qword', 'total_sectors')
    self.declare_field('qword', 'mft_lcn')
    self.declare_field('qword', 'mftmirr_lcn')
    self.declare_field('dword', 'clusters_per_file_record_segment')
    self.declare_field('byte', 'clusters_per_index_buffer')
    self.declare_field('byte', 'unused3', count=3)
    self.declare_field('qword', 'volume_serial_number')
    self.declare_field('dword', 'checksum')
    self.declare_field('byte', 'bootstrap_code', count=426)
    self.declare_field('word', 'end_of_sector')

dataset/ETHPy150Open williballenthin/python-ntfs/ntfs/filesystem/__init__.py NTFSVBR.__init__/original