[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Typo in libparted
From: |
Harley D. Eades III |
Subject: |
Re: Typo in libparted |
Date: |
14 Dec 2004 11:00:42 -0600 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Sven Luther <address@hidden> writes:
> Because Andrew reimplemented it.
>
> > Patch:
> > > + if ((!strncmp (part_table.boot_code + 0x36, "FAT", 3)
> > > + && strncmp (part_table.boot_code + 0x40, "SBML", 4))
> > > || !strncmp (part_table.boot_code + 0x52, "FAT", 3))
> > > return 0;
> >
> > disk_dos.c:
> > if ((!strncmp (part_table.boot_code + 0x36, "FAT", 3)
> > && strncmp (part_table.boot_code + 0x36, "FATSBML", 7) != 0)
> > || !strncmp (part_table.boot_code + 0x52, "FAT", 3))
> > return 0;
> >
> > What is differ from FATSBML vs. SBML?
>
> I feel strange, as i understand the original code looks for FAT at 0x36, and
> then for SBML at 0x40. The new code looks for FATSBML at 0x36, which means the
> SBML will start at 0x39. Maybe SBML is written two times in the MBR table ?
Maybe, is the original author of the patch around? Or do you know of any
documentation
covering SBML?
hde
- Typo in libparted, Harley D. Eades III, 2004/12/13
- Re: Typo in libparted,
Harley D. Eades III <=