> grub4dos checks for ntldr as follows: > - file starts with 0xe9, 0x??, 0x01, > - first sector does not end with bootsector signature 0x55,0xaa, > - file size exceeds 0x30000. For me it sounds like a heuristic. I would prefer to trust user rather than introducing heuristics to check file type. > > -- > Regards > Christian Franke > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel >
-- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel