Changes by: szaka
Update of /cvsroot/linux-ntfs/ntfsprogs/include/ntfs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30148/include/ntfs
Modified Files:
layout.h
Log Message:
mkntfs: set the physical drive and the extended boot signature to 0x80
in the Extended BPB which are needed to boot from disk
Index: layout.h
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/include/ntfs/layout.h,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -p -r1.54 -r1.55
--- layout.h 21 Feb 2006 11:43:49 -0000 1.54
+++ layout.h 14 Mar 2006 21:20:20 -0000 1.55
@@ -70,13 +70,10 @@ typedef struct {
u8 jump[3]; /* Irrelevant (jump to boot up code).*/
u64 oem_id; /* Magic "NTFS ". */
/*0x0b*/BIOS_PARAMETER_BLOCK bpb; /* See BIOS_PARAMETER_BLOCK. */
- u8 unused[4]; /* zero, NTFS diskedit.exe states that
- this is actually:
- u8 physical_drive; // 0x80
- u8 current_head; // zero
- u8 extended_boot_signature; // 0x80
- u8 unused; // zero
- */
+ u8 physical_drive; /* 0x00 floppy, 0x80 hard disk */
+ u8 current_head; /* zero */
+ u8 extended_boot_signature; /* 0x80 */
+ u8 reserved2; /* zero */
/*0x28*/s64 number_of_sectors; /* Number of sectors in volume. Gives
maximum volume size of 2^63 sectors.
Assuming standard sector size of 512
|