GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
filetype-compile(1) FreeBSD General Commands Manual filetype-compile(1)

filetype-compile - compile list of file types for use with filetype(1)

filetype-compile file_list file_spec

filetype-compile compiles the text file file_list, which contains specifications about file types to use for the filetype(1) program into a binary database, which is written to file_spec. Firstly, the program reads in the data from file_list and counts the number of records. Then it writes the binary database and counts the number of records in there to check if the two numbers match. Because of potential errors due to multiple specfiles, filetype-compile reads from the binary database and counts the number of records. If all three numbers match, the records are sorted and written one final time. Otherwise an error message is displayed.

/etc/filetype.spec
Default location of the specfile.

file(1), filetype(1), libfiletype(2).

April 5, 2004

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.