[uClinux-dev] file(1) bflt entry

Greg Ungerer gerg at snapgear.com
Wed Mar 26 02:14:22 EST 2003


Hi Philippe,

Worked nicely for me...

Regards
Greg



Philippe De Muyter wrote:
> I would like to submit to the file(1) maintainer an entry for the bflt
> file format.
> 
> Here is my proposal for public review :
> 
> #------------------------------------------------------------------------------
> # bFLT: file(1) magic for BFLT uclinux binary files
> #
> # From Philippe De Muyter <phdm at macqel.be>
> #
> 0       string          bFLT            BFLT executable
> 
>>4      belong          x               - version %ld,
>>4      belong          4
>>
>>>68    belong          0x4e714e71      m68k,
> 
> # I do not know what the other magic values and platforms are (arm e.g.)
> 
>>>36    belong&0x1      0x1             ram
>>>36    belong&0x2      0x2             gotpic
>>>36    belong&0x4      0x4             gzip
>>>36    belong&0x8      0x8             gzdata
> 
> 
> To test it, put that at the end of your /etc/magic file, compile it if needed
> using file -C, and then issue
> 
> 	file yourfile
> 
> where yourfile is a bflt-format file.
> 
> Feedback is welcome
> 
> Philippe
> 
> Philippe De Muyter  phdm at macqel.be  Tel +32 27029044
> Macq Electronique SA  rue de l'Aeronef 2  B-1140 Bruxelles  Fax +32 27029077
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev at uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev at uclinux.org
> 

-- 
------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Wizard        EMAIL:  gerg at snapgear.com
SnapGear Pty Ltd                               PHONE:    +61 7 3435 2888
825 Stanley St,                                  FAX:    +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia              WEB:   www.SnapGear.com




More information about the uClinux-dev mailing list